Skip to content

Commit

Permalink
increase accuracy msec
Browse files Browse the repository at this point in the history
  • Loading branch information
lufia committed May 28, 2020
1 parent 71cae2d commit a87bc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-log/lib/check-log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func TestRun(t *testing.T) {

expected := time.Now().Add(30 * time.Millisecond)
w, c, errLines, err := opts.searchLog(ctx, logf)
assert.WithinDuration(t, expected, time.Now(), 15*time.Millisecond, "searching time exceeded")
assert.WithinDuration(t, expected, time.Now(), 18*time.Millisecond, "searching time exceeded")

assert.Equal(t, err, nil, "err should be nil")
assert.Equal(t, int64(0), w, "something went wrong")
Expand Down

0 comments on commit a87bc12

Please sign in to comment.