test: async: tweak time multiplier
When running under valgrind, the timing is a lot slower. Give a
longer time interval for test cases to give some cushion.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie3e3a0d1960de2df1cea60763de8f57a3bcaa801
diff --git a/test/event/event.cpp b/test/event/event.cpp
index 382b92b..123cb4f 100644
--- a/test/event/event.cpp
+++ b/test/event/event.cpp
@@ -21,7 +21,7 @@
auto stop = std::chrono::steady_clock::now();
EXPECT_TRUE(stop - start > timeout);
- EXPECT_TRUE(stop - start < timeout * 2);
+ EXPECT_TRUE(stop - start < timeout * 3);
}
TEST_F(Event, Runnable)
@@ -78,5 +78,5 @@
EXPECT_TRUE(ran);
EXPECT_TRUE(stop - start > timeout);
- EXPECT_TRUE(stop - start < timeout * 2);
+ EXPECT_TRUE(stop - start < timeout * 3);
}