aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-10-18 06:34:34 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-10-18 06:34:34 +0000
commitecf225295372590c06d2b1d880023ef5900c6661 (patch)
treec3e1c1f82c1734854aeb76c419b167a885d4ad3e
parent771b853b8a0b13a476854eed4e98317d02232ebc (diff)
Allow longer timeout to allow tests to complete on a heavily loaded system.
-rw-r--r--searchcore/src/tests/proton/common/timer/timer_test.cpp4
1 files 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<uint64_t> 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<uint64_t> counter = 0;
std::atomic<uint64_t> reset_counter = 0;