Skip to content

Commit

Permalink
Fix core test for System::wait_signal()
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Dec 4, 2024
1 parent abcee1a commit 81d0f45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-tests/src/coroutine/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ TEST(coroutine_system, wait_signal) {
System::sleep(0.002);
kill(getpid(), SIGUSR1);
});
ASSERT_TRUE(System::wait_signal(SIGUSR1, 1.0));
ASSERT_FALSE(System::wait_signal(SIGUSR2, 0.1));
ASSERT_EQ(System::wait_signal(SIGUSR1, 1.0), SIGUSR1);
ASSERT_EQ(System::wait_signal(SIGUSR2, 0.1), -1);
});
}

Expand Down

0 comments on commit 81d0f45

Please sign in to comment.