Skip to content

Commit

Permalink
iox-#1361 Increase time for heartbeat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Oct 24, 2023
1 parent 6774499 commit d725812
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ using namespace iox;
using namespace iox::runtime;

constexpr uint64_t ALLOWED_NON_SLEEP_JITTER_MS{5};
constexpr uint64_t ALLOWED_SLEEP_JITTER_MS{50};
// NOTE: this needs to be quite high due to the thread sanitizer on macOS slows the application down quite a lot
constexpr uint64_t ALLOWED_SLEEP_JITTER_MS{150};

TEST(Heartbeat_test, ElapsedMillisecondsSinceLastBeatOnNewlyCreatedInstanceIsCloseToZero)
{
Expand Down

0 comments on commit d725812

Please sign in to comment.