Delay for safety in ObjectExpiryTest is not sufficient in all test environments
Bug #1452915 reported by
Daryl Walleck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Ievgeniia Zadorozhna |
Bug Description
In the _test_object_expiry function of ObjectExpiryTest, an extra delay for latency is hard coded in:
This appears to be sufficient for smaller test environments, but not enough for public environments under load (trial and error led me to determine that 7 seconds was sufficient for Rackspace's public environments). This value could be increased, but that would be a temporary patch until someone with another environment with different latency ran into the same problem. Would it make sense to turn this into a polling loop checking periodically over a configurable period of time? Or would increasing this value to a larger number be sufficient?
Changed in tempest: | |
status: | Incomplete → In Progress |
Changed in tempest: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
What is the source of the delay ?
The object was stored and read back with `x-delete-at` , as I remember the server just checks the current time and this header for serving 404.
Is it still working like that?
Is it possible the clocks are not in sync ?