]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/rgw: increase timeouts in unittest_rgw_dmclock_scheduler 55791/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 26 Feb 2024 14:38:52 +0000 (09:38 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 27 Feb 2024 16:21:25 +0000 (11:21 -0500)
commitd6a9eaad4ee3bcaf9c145bd8a0cb8cd9c6996674
tree6a128cf7fc1af112dada2c38cf28cef8669eb0c1
parentefb95aee7b3e6648f2a4784e81cdbe0e96d00d09
test/rgw: increase timeouts in unittest_rgw_dmclock_scheduler

1ms sleeps are generally below the timer's resolution. increase run_for()
durations to 50ms to make the tests far less sensitive to timing. in
practice, none of the sleeps actually wait the full 50ms

Fixes: https://tracker.ceph.com/issues/64568
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b4f3ddfe4385c12baa0f44fff9d2708c445625d3)
src/test/rgw/test_rgw_dmclock_scheduler.cc