]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Increase test alarm time
authorNitzan Mordechai <nmordech@redhat.com>
Thu, 22 Dec 2022 05:49:42 +0000 (05:49 +0000)
committerNitzanMordhai <nmordech@redhat.com>
Tue, 31 Jan 2023 06:00:41 +0000 (08:00 +0200)
Waiting to watch_notify callback can take some time during heavy tests
that run under rados/test.sh for example.
Increasing the alarm time will allow the task to complete under those
conditions.

Fixing: https://tracker.ceph.com/issues/58130
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
(cherry picked from commit 9f0dd4728d5cb3ebb46869fe2ddd1f1e8a2c7b9f)

src/test/librados/test_shared.h

index 6f3747e7b41c13cd2154bb6ce90b63ca3411b9e0..3a18e916e2e4d4a8e42ae8bce52a57669f2a8cef 100644 (file)
@@ -21,7 +21,7 @@ class TestAlarm
 public:
   #ifndef _WIN32
   TestAlarm() {
-    alarm(1200);
+    alarm(2400);
   }
   ~TestAlarm() {
     alarm(0);