Race condition in zone imports tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Undecided
|
Thomas Herve |
Bug Description
designate_
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
raise mismatch_error
testtools.
We can see that returned by the import POST:
Body: {"status": "PENDING", "zone_id": null, ...}
So the zone_id is not available yet, we need to poll to make sure the zone is created properly before calling show on it.
Fix proposed to branch: master /review. openstack. org/523389
Review: https:/