]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/crimson/test_messenger: increase timeout 44832/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Sat, 29 Jan 2022 02:39:13 +0000 (10:39 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 2 Feb 2022 15:24:49 +0000 (23:24 +0800)
120 seconds are still too short for make check, change to 300.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/test/crimson/test_messenger.cc

index bd549d4d6161339940316c9ccd6baf9e2f610d62..8c603d4615b7077a1b6d5c05a0d20ddfd2f58dd2 100644 (file)
@@ -3639,11 +3639,11 @@ int main(int argc, char** argv)
     ("v2-testpeer-islocal", bpo::value<bool>()->default_value(true),
      "create a local crimson testpeer, or connect to a remote testpeer");
   return app.run(argc, argv, [&app] {
-    // This test normally succeeds within 60 seconds, so kill it after 120
+    // This test normally succeeds within 60 seconds, so kill it after 300
     // seconds in case it is blocked forever due to unaddressed bugs.
-    return seastar::with_timeout(seastar::lowres_clock::now() + 120s, do_test(app))
+    return seastar::with_timeout(seastar::lowres_clock::now() + 300s, do_test(app))
       .handle_exception_type([](seastar::timed_out_error&) {
-        logger().error("test_messenger timeout after 120s, abort! "
+        logger().error("test_messenger timeout after 300s, abort! "
                        "Consider to extend the period if the test is still running.");
         // use the retcode of timeout(1)
         return 124;