Skip to content

Commit 5546ef0

Browse files
committed
Update Usage command
Too many routers! Test takes more than 10 minutes now. After 10 minutes Go kills the tests by default.
1 parent 29c2202 commit 5546ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,6 @@ func loadTrafficSingle(method, path string, handler traffic.HttpHandleFunc) http
863863

864864
// Usage notice
865865
func main() {
866-
fmt.Println("Usage: go test -bench=.")
866+
fmt.Println("Usage: go test -bench=. -timeout=20m")
867867
os.Exit(1)
868868
}

0 commit comments

Comments
 (0)