Skip to content

Commit

Permalink
refs #60 Increased wait time for CG timeout in test.
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Peyrusse <[email protected]>
  • Loading branch information
Florent Peyrusse committed Aug 29, 2023
1 parent ec9eba5 commit 4f3e6fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_hnz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1686,9 +1686,9 @@ TEST_F(HNZTest, ConnectionLossAndGIStatus) {
});
if(HasFatalFailure()) return;

// Wait for all CG attempts to expire (gi_time * (gi_repeat_count+1) * 1000)
// Wait for all CG attempts to expire (gi_time * (gi_repeat_count + initial CG + 1) * 1000)
debug_print("[HNZ south plugin] waiting for full CG timeout...");
waitUntil(southEventsReceived, 1, 3000);
waitUntil(southEventsReceived, 1, 4000);
// Check that ingestCallback had been called only one time
ASSERT_EQ(southEventsReceived, 1);
resetCounters();
Expand Down

0 comments on commit 4f3e6fb

Please sign in to comment.