Registry fixture does not handle concurrent uses

Bug #1547140 reported by Ryan Rossiter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.versionedobjects
Confirmed
Undecided
Ryan Rossiter

Bug Description

The VersionedObjectRegistryFixture cannot handle races with things that are registering vs. things that need the original registry intact (i.e. object version hash checking).

What the registry fixture needs to do is return a new version of the registry, so the tests can mangle it all they want without changing the underlying object classes on the original registry.

Ryan Rossiter (rlrossit)
Changed in oslo.versionedobjects:
assignee: nobody → Ryan Rossiter (rlrossit)
Changed in oslo.versionedobjects:
status: New → Confirmed
Revision history for this message
Ryan Rossiter (rlrossit) wrote :
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

I am not sure the bug is valid. Neutron successfully uses the registry fixture in its tree for multiple tests. I think we identified lately that it was the way neutron tried to use the fixture that was wrong, not the fixture itself.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.