Skip to content

Commit

Permalink
chore(ut): give more time for scheduler (#752)
Browse files Browse the repository at this point in the history
  • Loading branch information
welkeyever authored Apr 27, 2023
1 parent a8a426e commit 6100069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/app/server/render/html_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ func TestHTMLDebug_StartChecker_timer(t *testing.T) {
}
render.startChecker()
select {
case <-time.After(render.RefreshInterval + 100*time.Millisecond):
t.Fatalf("should be triggered in 1 second")
case <-time.After(render.RefreshInterval + 500*time.Millisecond):
t.Fatalf("should be triggered in 1.5 second")
case <-render.reloadCh:
}
}
Expand Down

0 comments on commit 6100069

Please sign in to comment.