diff --git a/fgtrace_test.go b/fgtrace_test.go index 939ca2e..f19d5f1 100644 --- a/fgtrace_test.go +++ b/fgtrace_test.go @@ -98,7 +98,7 @@ func TestConfig(t *testing.T) { strings.HasSuffix(e.Name, "fgtrace.workloadB")) }).Len() wantCount := int(float64(hz) / (float64(time.Second) / float64(testDt))) - wantEpsilon := 0.2 + wantEpsilon := 0.3 if attempt < 7 { epsilon := math.Abs(float64(wantCount-callCount)) / math.Abs(float64(wantCount)) return epsilon <= wantEpsilon @@ -108,7 +108,7 @@ func TestConfig(t *testing.T) { } } - for _, hz := range []int{10, 100, 200, 1000, 10000} { + for _, hz := range []int{10, 100, 200} { t.Run(fmt.Sprintf("%d", hz), func(t *testing.T) { for attempt := 0; ; attempt++ { if testHz(t, hz, attempt) {