Skip to content

Commit

Permalink
Fix metrics cache tests timing issues (elastic#6232)
Browse files Browse the repository at this point in the history
  • Loading branch information
exekias authored and ruflin committed Jan 31, 2018
1 parent d299a2e commit 1a6a5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricbeat/module/kubernetes/util/metrics_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func TestGetWithDefault(t *testing.T) {
}

func TestTimeout(t *testing.T) {
test := newValueMap(20 * time.Millisecond)
test := newValueMap(10 * time.Millisecond)

test.Set("foo", 3.14)
assert.Equal(t, 3.14, test.Get("foo"))
Expand Down

0 comments on commit 1a6a5cd

Please sign in to comment.