Skip to content

Commit 82af52e

Browse files
committed
test/crimson/test_messenger: increase timeout
120 seconds are still too short for make check, change to 300. Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
1 parent 763f990 commit 82af52e

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)