aboutsummaryrefslogtreecommitdiff
path: root/test/base
diff options
context:
space:
mode:
Diffstat (limited to 'test/base')
-rw-r--r--test/base/platform/unix/EventLoopTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/base/platform/unix/EventLoopTest.cpp b/test/base/platform/unix/EventLoopTest.cpp
index 4660efb3..5d4dbcf2 100644
--- a/test/base/platform/unix/EventLoopTest.cpp
+++ b/test/base/platform/unix/EventLoopTest.cpp
@@ -25,7 +25,7 @@ TEST_CASE("UnixTimerFile Work", "[unix][time]") {
REQUIRE(delay < std::chrono::milliseconds(500));
}
-TEST_CASE("UnixEventLoop Timer", "[unix][time]") {
+TEST_CASE("UnixEventLoop Work", "[unix][time]") {
using namespace cru;
using namespace cru::platform::unix;
@@ -35,6 +35,8 @@ TEST_CASE("UnixEventLoop Timer", "[unix][time]") {
auto test_duration = std::chrono::milliseconds(test_miliseconds);
auto start = std::chrono::steady_clock::now();
+ auto test_pipe = OpenUniDirectionalPipe();
+
int counter = 0;
loop.SetTimeout(