Skip to content

Commit 18618bf

Browse files
authored
Merge pull request ceph#44832 from cyx1231st/wip-crimson-msgr-test-timeout
test/crimson/test_messenger: increase timeout Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 parents c47ace9 + 82af52e commit 18618bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/crimson/test_messenger.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3639,11 +3639,11 @@ int main(int argc, char** argv)
36393639
("v2-testpeer-islocal", bpo::value<bool>()->default_value(true),
36403640
"create a local crimson testpeer, or connect to a remote testpeer");
36413641
return app.run(argc, argv, [&app] {
3642-
// This test normally succeeds within 60 seconds, so kill it after 120
3642+
// This test normally succeeds within 60 seconds, so kill it after 300
36433643
// seconds in case it is blocked forever due to unaddressed bugs.
3644-
return seastar::with_timeout(seastar::lowres_clock::now() + 120s, do_test(app))
3644+
return seastar::with_timeout(seastar::lowres_clock::now() + 300s, do_test(app))
36453645
.handle_exception_type([](seastar::timed_out_error&) {
3646-
logger().error("test_messenger timeout after 120s, abort! "
3646+
logger().error("test_messenger timeout after 300s, abort! "
36473647
"Consider to extend the period if the test is still running.");
36483648
// use the retcode of timeout(1)
36493649
return 124;

0 commit comments

Comments
 (0)