Skip to content

Commit

Permalink
Revert "add sleep to Stop animation test since Stop is now async"
Browse files Browse the repository at this point in the history
This reverts commit e01c0a2.
  • Loading branch information
andydotxyz committed Feb 8, 2024
1 parent bcb30c7 commit 46fb752
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/animation/animation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ func TestGLDriver_StopAnimation(t *testing.T) {
t.Error("animation was not ticked")
}
run.Stop(a)
// Animations are really stopped asynchronously
time.Sleep(time.Second/60 + 100*time.Millisecond)
run.animationMutex.Lock()
assert.Zero(t, len(run.animations))
run.animationMutex.Unlock()
Expand Down

0 comments on commit 46fb752

Please sign in to comment.