diff --git a/internal/holsterv4/clock/system_test.go b/internal/holsterv4/clock/system_test.go index fe8345f..4c7ab2b 100644 --- a/internal/holsterv4/clock/system_test.go +++ b/internal/holsterv4/clock/system_test.go @@ -66,7 +66,6 @@ func TestTimerStop(t *testing.T) { // Then assert.Equal(t, true, active) - time.Sleep(100) select { case <-timer.C(): assert.Fail(t, "Timer should not have fired") @@ -106,7 +105,6 @@ func TestNewTicker(t *testing.T) { } timer.Stop() - time.Sleep(150) select { case <-timer.C(): assert.Fail(t, "Ticker should not have fired")