You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
This is what prevents us from moving to the Unified CI setup (#189). This test is quite annoying, as it relies on time.Sleep invocations, and therefore takes 2s.
go test -run TestResetBandwidthCounter -count 100 -v ./metrics
Unfortunately, our flow metrics depend on time.Now(), there's no way to inject a clock interface, which we could mock in tests.
The text was updated successfully, but these errors were encountered:
This is what prevents us from moving to the Unified CI setup (#189). This test is quite annoying, as it relies on
time.Sleep
invocations, and therefore takes 2s.Unfortunately, our flow metrics depend on
time.Now()
, there's no way to inject a clock interface, which we could mock in tests.The text was updated successfully, but these errors were encountered: