We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ac2c7b commit 038fd11Copy full SHA for 038fd11
core/connstring/connstring_test.go
@@ -365,8 +365,8 @@ func TestMaxStaleness(t *testing.T) {
365
expected time.Duration
366
err bool
367
}{
368
- {s: "maxStaleness=10", expected: time.Duration(10) * time.Millisecond},
369
- {s: "maxStaleness=100", expected: time.Duration(100) * time.Millisecond},
+ {s: "maxStaleness=10", expected: time.Duration(10) * time.Second},
+ {s: "maxStaleness=100", expected: time.Duration(100) * time.Second},
370
{s: "maxStaleness=-2", err: true},
371
{s: "maxStaleness=gsdge", err: true},
372
}
0 commit comments