Skip to content

Commit

Permalink
FileWatchTest fix for github windows CI (#4016) (#4023)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit c216133)

Co-authored-by: Mario Domínguez López <116071334+Mario-DL@users.noreply.github.com>
  • Loading branch information
mergify[bot] and Mario-DL authored Dec 3, 2023
1 parent de0a302 commit 3bdd30f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unittest/utils/SystemInfoTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ TEST_F(SystemInfoTests, FileWatchTest)
cv_.notify_all();
});

std::this_thread::sleep_for(_1s);

// Read contents
{
std::ifstream file(filename);
Expand Down

0 comments on commit 3bdd30f

Please sign in to comment.