Skip to content

Commit

Permalink
FileWatchTest fix (#4024)
Browse files Browse the repository at this point in the history
* FileWatchTest fix for github windows CI (#4016)

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
(cherry picked from commit c216133)

* Backport test fix

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>

---------

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Co-authored-by: Mario Domínguez López <116071334+Mario-DL@users.noreply.github.com>
Co-authored-by: Mario Dominguez <mariodominguez@eprosima.com>
  • Loading branch information
3 people authored Dec 1, 2023
1 parent 4883ff0 commit 05a32e1
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 @@ -239,6 +239,8 @@ TEST_F(SystemInfoTests, FileWatchTest)
cv_.notify_all();
});

std::this_thread::sleep_for(std::chrono::seconds(1));

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

0 comments on commit 05a32e1

Please sign in to comment.