Fix wrong error check (#9518)

I am afraid I broke main with #9502. It seem to have auto-merged with
failing tests 😢
pull/9528/head^2
Christian Simon 2 years ago committed by GitHub
parent 5d7e0fd6c0
commit 9399ed930a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/analytics/stats_test.go

@ -83,7 +83,7 @@ func TestCounterRace(t *testing.T) {
return nil return nil
}) })
require.NoError(g.Wait()) require.NoError(t, g.Wait())
require.Equal(t, NewCounter(counterName).total.Load(), int64(300)) require.Equal(t, NewCounter(counterName).total.Load(), int64(300))
} }

Loading…
Cancel
Save