HomePhorge

(PUP-2298) protect transaction spec test against new exceptions
da800647c29eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2298) protect transaction spec test against new exceptions

The new perform_pre_run_checks method in the transaction loops over
all resources in the catalog. This is prone to failures if any nil references
end up in the catalog. This can happen during the addition of resources
to the catalog under test conditions, because the mock resources are not
sufficiently contained.

To work around this effect, stub the very #container_of method in the mock
catalog so that all resources will have an apparent container.

Details

Event Timeline

Felix Frank <Felix.Frank@Alumni.TU-Berlin.de> committed rPUda800647c29e: (PUP-2298) protect transaction spec test against new exceptions (authored by Felix Frank <Felix.Frank@Alumni.TU-Berlin.de>).May 14 2014, 11:38 PM