Skip to content

Commit

Permalink
[#3250] Fixed sporadic test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
msiodelski committed Apr 16, 2024
1 parent 5417b26 commit c190c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/dhcp/high_availability/ha_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ HAService::waitingStateHandler() {
case HA_TERMINATED_ST: {
auto partner_in_terminated = communication_state_->getDurationSincePartnerStateTime();
if (!partner_in_terminated.is_not_a_date_time() &&
partner_in_terminated.minutes() >= HA_WAITING_TO_TERMINATED_ST_DELAY_MINUTES) {
(partner_in_terminated.total_seconds()) / 60 >= HA_WAITING_TO_TERMINATED_ST_DELAY_MINUTES) {
LOG_WARN(ha_logger, HA_TERMINATED_PARTNER_DID_NOT_RESTART)
.arg(config_->getThisServerName())
.arg(HA_WAITING_TO_TERMINATED_ST_DELAY_MINUTES);
Expand Down

0 comments on commit c190c5c

Please sign in to comment.