Skip to content

Commit f528962

Browse files
authored
fix: flaky TestChannelMonitorAutoRestart (#198)
1 parent f14cc40 commit f528962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channelmonitor/channelmonitor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func TestChannelMonitorAutoRestart(t *testing.T) {
5858

5959
m := NewMonitor(mockAPI, &Config{
6060
AcceptTimeout: time.Hour,
61-
MaxConsecutiveRestarts: 3,
61+
MaxConsecutiveRestarts: 1,
6262
RestartAckTimeout: 20 * time.Millisecond,
6363
CompleteTimeout: time.Hour,
6464
})

0 commit comments

Comments
 (0)