Increase test timeout to mitigate false positive fails

This commit is contained in:
Daniel 2020-06-05 13:58:02 +02:00
parent ebfb744fbc
commit 3c7af2102d

View file

@ -15,7 +15,7 @@ func init() {
go taskScheduleHandler() go taskScheduleHandler()
go func() { go func() {
<-time.After(10 * time.Second) <-time.After(30 * time.Second)
fmt.Fprintln(os.Stderr, "taking too long") fmt.Fprintln(os.Stderr, "taking too long")
_ = pprof.Lookup("goroutine").WriteTo(os.Stderr, 2) _ = pprof.Lookup("goroutine").WriteTo(os.Stderr, 2)
os.Exit(1) os.Exit(1)