Skip to content

Commit

Permalink
Updated unit test of event loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ziflex committed Sep 2, 2021
1 parent 303e06e commit 5612358
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/drivers/cdp/events/loop_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ func TestLoop(t *testing.T) {
// Stop the loop
cancel()

time.Sleep(time.Duration(100) * time.Millisecond)

onLoad.Emit(&page.LoadEventFiredReply{})

for i := 0; i <= eventsToFire; i++ {
Expand Down

0 comments on commit 5612358

Please sign in to comment.