From ecf225295372590c06d2b1d880023ef5900c6661 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 18 Oct 2023 06:34:34 +0000 Subject: Allow longer timeout to allow tests to complete on a heavily loaded system. --- searchcore/src/tests/proton/common/timer/timer_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searchcore/src/tests/proton/common/timer/timer_test.cpp b/searchcore/src/tests/proton/common/timer/timer_test.cpp index 1efae97c6e0..4419275230a 100644 --- a/searchcore/src/tests/proton/common/timer/timer_test.cpp +++ b/searchcore/src/tests/proton/common/timer/timer_test.cpp @@ -84,7 +84,7 @@ TYPED_TEST(ScheduledExecutorTest, test_drop_handle) { } TYPED_TEST(ScheduledExecutorTest, test_only_one_instance_running) { - vespalib::TimeBomb time_bomb(60s); + vespalib::TimeBomb time_bomb(120s); vespalib::Gate latch; std::atomic counter = 0; auto handleA = this->timer->scheduleAtFixedRate(makeLambdaTask([&]() { counter++; latch.await();}), 0ms, 1ms); @@ -96,7 +96,7 @@ TYPED_TEST(ScheduledExecutorTest, test_only_one_instance_running) { } TYPED_TEST(ScheduledExecutorTest, test_sync_delete) { - vespalib::TimeBomb time_bomb(60s); + vespalib::TimeBomb time_bomb(120s); vespalib::Gate latch; std::atomic counter = 0; std::atomic reset_counter = 0; -- cgit v1.2.3