diff --git a/modules/tasks_test.go b/modules/tasks_test.go index 00d9bdc..e1b2952 100644 --- a/modules/tasks_test.go +++ b/modules/tasks_test.go @@ -15,7 +15,7 @@ func init() { go taskScheduleHandler() go func() { - <-time.After(10 * time.Second) + <-time.After(30 * time.Second) fmt.Fprintln(os.Stderr, "taking too long") _ = pprof.Lookup("goroutine").WriteTo(os.Stderr, 2) os.Exit(1)