From: Nitzan Mordechai Date: Thu, 22 Dec 2022 05:49:42 +0000 (+0000) Subject: test: Increase test alarm time X-Git-Tag: v16.2.14~49^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9f8ba0c604e97d9edcdcee0af80c8eaa68b71282;p=ceph.git test: Increase test alarm time 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 (cherry picked from commit 9f0dd4728d5cb3ebb46869fe2ddd1f1e8a2c7b9f) --- diff --git a/src/test/librados/test_shared.h b/src/test/librados/test_shared.h index 6f3747e7b41..3a18e916e2e 100644 --- a/src/test/librados/test_shared.h +++ b/src/test/librados/test_shared.h @@ -21,7 +21,7 @@ class TestAlarm public: #ifndef _WIN32 TestAlarm() { - alarm(1200); + alarm(2400); } ~TestAlarm() { alarm(0);