Skip to content

Commit

Permalink
test: double the timeout - see if that helps
Browse files Browse the repository at this point in the history
  • Loading branch information
wenningerk committed Feb 21, 2024
1 parent bd93f1d commit f258b38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/regressions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ test_wipe_slots1() {
sbd -d ${D[1]} -n test-1 watch
sbd_sleep 2
sbd_wipe_disk ${D[1]}
sbd_sleep $((${MSGWAIT_TIMEOUT} + ${WATCHDOG_TIMEOUT} * 2))
sbd_sleep $((${MSGWAIT_TIMEOUT} * 2 + ${WATCHDOG_TIMEOUT} * 4))
_in_log "watchdog fired"
}

Expand All @@ -294,7 +294,7 @@ test_wipe_slots2() {
sbd -d ${D[1]} -w /dev/null -n test-1 watch
sbd_sleep 2
sbd_wipe_disk ${D[1]}
sbd_sleep $((${MSGWAIT_TIMEOUT} + ${WATCHDOG_TIMEOUT} * 2))
sbd_sleep $((${MSGWAIT_TIMEOUT} * 2 + ${WATCHDOG_TIMEOUT} * 4))
_in_log "sysrq-trigger ('b')"
_in_log "reboot (reboot)"
}
Expand Down Expand Up @@ -341,7 +341,7 @@ test_timeout_action1() {
SBD_TIMEOUT_ACTION=off sbd -d ${D[1]} -w /dev/null -n test-1 watch
sbd_sleep 2
sbd_wipe_disk ${D[1]}
sbd_sleep $((${MSGWAIT_TIMEOUT} + ${WATCHDOG_TIMEOUT} * 2))
sbd_sleep $((${MSGWAIT_TIMEOUT} * 2 + ${WATCHDOG_TIMEOUT} * 4))
_in_log "sysrq-trigger ('o')"
_in_log "reboot (poweroff)"
}
Expand All @@ -353,7 +353,7 @@ test_timeout_action2() {
SBD_TIMEOUT_ACTION=crashdump sbd -d ${D[1]} -w /dev/null -n test-1 watch
sbd_sleep 2
sbd_wipe_disk ${D[1]}
sbd_sleep $((${MSGWAIT_TIMEOUT} + ${WATCHDOG_TIMEOUT} * 2))
sbd_sleep $((${MSGWAIT_TIMEOUT} * 2 + ${WATCHDOG_TIMEOUT} * 4))
_in_log "sysrq-trigger ('c')"
}

Expand Down

0 comments on commit f258b38

Please sign in to comment.