We need to either implement removal of bogus capsules or create them only with an appropriate organization assigned (not sure whether this helps) straight after we're done with capsule tests.
Otherwise they point to an already closed port which causes Connection Refused for many other tests down the road (e.g. Content View Publish). Such tests produce locked tasks which further prevent other tasks from other tests to finish.
update: Teardown might not be sufficient in parralel test execution. The correct approach would be to assign the capsule (only) to the organization created by the test - to preserve test isolation.
update: There is a 'leak' in the isolation due to the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1336449
tl;dr:
Manage Organizations page always resets the context to Any Contextmake_proxy() factory method@rplevka @sthirugn : can we close this issue ? I see that referenced PR handled the removal of fake capsules ?
@sghai, yes..thanks for reminder
Most helpful comment
update: Teardown might not be sufficient in parralel test execution. The correct approach would be to assign the capsule (only) to the organization created by the test - to preserve test isolation.