@@ -760,8 +760,7 @@ func testReattemptFailedSendHashmailCourier(t *harnessTest) {
760760 expectedEventCount := nodeBackoffCfg .NumTries - 1
761761
762762 // Context timeout scales with expected number of events.
763- timeout := time .Duration (expectedEventCount ) *
764- defaultProofTransferReceiverAckTimeout
763+ timeout := time .Duration (expectedEventCount ) * nodeBackoffCfg .MaxBackoff
765764
766765 // Allow for some margin for the operations that aren't pure
767766 // waiting on the receiver ACK.
@@ -868,8 +867,7 @@ func testReattemptProofTransferOnTapdRestart(t *harnessTest) {
868867 expectedEventCount := nodeBackoffCfg .NumTries - 1
869868
870869 // Context timeout scales with expected number of events.
871- timeout := time .Duration (expectedEventCount ) *
872- defaultProofTransferReceiverAckTimeout
870+ timeout := time .Duration (expectedEventCount ) * nodeBackoffCfg .MaxBackoff
873871
874872 // Allow for some margin for the operations that aren't pure waiting on
875873 // the receiver ACK.
@@ -1029,8 +1027,7 @@ func testReattemptFailedSendUniCourier(t *harnessTest) {
10291027 expectedEventCount := nodeBackoffCfg .NumTries - 1
10301028
10311029 // Context timeout scales with expected number of events.
1032- timeout := time .Duration (expectedEventCount ) *
1033- defaultProofTransferReceiverAckTimeout
1030+ timeout := time .Duration (expectedEventCount ) * nodeBackoffCfg .MaxBackoff
10341031
10351032 // Allow for some margin for the operations that aren't pure waiting on
10361033 // the receiver ACK.
0 commit comments