]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/{librbd, rgw}: increase delay between and number of bind attempts 48023/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 8 Sep 2022 09:36:34 +0000 (11:36 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 8 Sep 2022 19:05:02 +0000 (21:05 +0200)
commit779891210e855fc9a0cdbd3ef72580ffe108817e
treef6388650e382c833b7c918a851356065a08b9202
parentbdd38a276244bfe954fead033d5a460acb02ed55
test/{librbd, rgw}: increase delay between and number of bind attempts

Commit aa7885f7cc41 ("test/{librbd, rgw}: retry when bind fail with
port 0") reduced the frequency of sporadic unit test failures caused
by EADDRINUSE a lot, but not entirely.

Currently, it yields a cumulative sleep of ~9 seconds.  Let's increase
that to 1 minute.

Fixes: https://tracker.ceph.com/issues/57116
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 48016eaa1511ac8a39ed33084e0e230f3b1b5821)
src/test/librbd/migration/test_mock_HttpClient.cc
src/test/rgw/test_http_manager.cc