Skip to content

Commit

Permalink
make test more stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Sep 26, 2020
1 parent defc0ee commit 4cb1a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func (s *S) TestPageWaitRequestIdle() {
url, mux, close := utils.Serve("")
defer close()

sleep := time.Second
sleep := 2 * time.Second
timeout, cancel := context.WithTimeout(context.Background(), sleep)
defer cancel()

Expand Down

0 comments on commit 4cb1a8a

Please sign in to comment.