Have verify_data retry to avoid sleeps in test code
Bug #1568538 reported by
Peter Stachowski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Committed
|
Low
|
Peter Stachowski |
Bug Description
In the scenario tests a 'verify_data' method is used to make sure that data can be added and removed from datastores correctly, and to verify that configurations are working properly for things like replication and clustering. In some tests, sleeps are used to make sure that the data has time to arrive at the other machines. This should be replaced by 'retry' and 'sleep' arguments that can be tailored by the calling test functions. In this way the test will only wait for as little as need be before continuing, while still failing if the requested verify can't be completed eventually.
Changed in trove: | |
assignee: | nobody → Peter Stachowski (peterstac) |
importance: | Undecided → Low |
milestone: | none → newton-1 |
Changed in trove: | |
milestone: | newton-1 → ongoing |
To post a comment you must log in.
This has been fixed in https:/ /review. openstack. org/#/c/ 322290
The 'Closes-Bug' tag was missed.