Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
renukamanavalan committed Aug 11, 2022
1 parent a5287f5 commit 6c1c90f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sonic-eventd/tests/eventd_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -744,8 +744,8 @@ TEST(eventd, heartbeat)
EXPECT_EQ(stats_instance.heartbeats_cnt(), cnt);

/* Turn on heartbeat
stats_instance.heartbeat_ctrl(true);
stats_instance.heartbeat_ctrl();
st = duration_cast<milliseconds>(system_clock::now().time_since_epoch()).count();
/* Wait for a heartbeat */
while (stats_instance.heartbeats_cnt() == cnt) {
Expand Down

0 comments on commit 6c1c90f

Please sign in to comment.