Skip to content

Commit

Permalink
Fix default timeout test config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexliesenfeld committed May 1, 2023
1 parent ff5f307 commit 73790b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func TestNewWithDefaults(t *testing.T) {
// Assert
ckr := checker.(*defaultChecker)
assert.Equal(t, 1*time.Second, ckr.cfg.cacheTTL)
assert.Equal(t, 30*time.Second, ckr.cfg.timeout)
assert.Equal(t, 10*time.Second, ckr.cfg.timeout)
assert.Equal(t, uint(500), ckr.cfg.maxErrMsgLen)
assert.True(t, configApplied)
}
Expand All @@ -181,7 +181,7 @@ func TestNewCheckerWithDefaults(t *testing.T) {
// Assert
ckr := checker.(*defaultChecker)
assert.Equal(t, 1*time.Second, ckr.cfg.cacheTTL)
assert.Equal(t, 30*time.Second, ckr.cfg.timeout)
assert.Equal(t, 10*time.Second, ckr.cfg.timeout)
assert.Equal(t, uint(500), ckr.cfg.maxErrMsgLen)
assert.True(t, configApplied)
}
Expand Down

0 comments on commit 73790b6

Please sign in to comment.