Have verify_data retry to avoid sleeps in test code

Bug #1568538 reported by Peter Stachowski
6
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
Amrith Kumar (amrith)
Changed in trove:
milestone: newton-1 → ongoing
Revision history for this message
Peter Stachowski (peterstac) wrote :

This has been fixed in https://review.openstack.org/#/c/322290
The 'Closes-Bug' tag was missed.

Changed in trove:
status: New → Fix Committed
milestone: ongoing → newton-3
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.