]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/{librbd, rgw}: increase delay between and number of bind attempts 48024/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:20:03 +0000 (21:20 +0200)
commita7fec0240d221e5d868a51b860f285587656eb49
tree28b61ba2e39f0946c8ea6f8465f559c1fb3b6595
parent9556c087e63721d1cfd29be0554d8497d55074d2
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