Skip to content

Commit a85becc

Browse files
committed
fix flaky test
1 parent dd9ca52 commit a85becc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

options.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,10 @@ func (opt *Options) init() {
355355
opt.MaxRetryBackoff = 512 * time.Millisecond
356356
}
357357

358+
if opt.FailingTimeoutSeconds == 0 {
359+
opt.FailingTimeoutSeconds = 15
360+
}
361+
358362
opt.MaintNotificationsConfig = opt.MaintNotificationsConfig.ApplyDefaultsWithPoolConfig(opt.PoolSize, opt.MaxActiveConns)
359363

360364
// auto-detect endpoint type if not specified

0 commit comments

Comments
 (0)