Skip to content

Commit

Permalink
Fix UNIT_Server_TEST failure caused by change in behavior of `gz::com…
Browse files Browse the repository at this point in the history
…mon::SignalHandler` (#2537)

Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Aug 23, 2024
1 parent 363d5c3 commit 5298d46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Server_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,7 @@ TEST_P(ServerFixture, SigInt)
EXPECT_TRUE(*server.Running(0));

std::raise(SIGTERM);
GZ_SLEEP_MS(20);

EXPECT_FALSE(server.Running());
EXPECT_FALSE(*server.Running(0));
Expand Down Expand Up @@ -880,6 +881,7 @@ TEST_P(ServerFixture, GZ_UTILS_TEST_DISABLED_ON_WIN32(AddSystemWhileRunning))

// Stop the server
std::raise(SIGTERM);
GZ_SLEEP_MS(20);

EXPECT_FALSE(server.Running());
EXPECT_FALSE(*server.Running(0));
Expand Down

0 comments on commit 5298d46

Please sign in to comment.