mirror of
https://github.com/safing/portbase
synced 2025-09-01 01:59:48 +00:00
Increase test timeout to mitigate false positive fails
This commit is contained in:
parent
ebfb744fbc
commit
3c7af2102d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue