]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/rgw: increase timeouts in unittest_rgw_dmclock_scheduler
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:10 +0000 (11:21 -0500)
commit15772dbed3693035159e21caa1cf95b7bae763ea
tree3d918292eb824b5bfa6cfa8b32eca4b4d029a993
parent1d3308060ccdfb6de4fe7eae2050b723500ec20d
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