Przeglądaj źródła

Put a 60s limit on the test suite

Nothing should run that long, and when flaky tests hang this is a lot better
than Travis's default 10-minute timeout.
Evan Huus 10 lat temu
rodzic
commit
44d2339061
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -1,7 +1,7 @@
 default: fmt vet errcheck test
 
 test:
-	go test -v -race ./...
+	go test -v -timeout 60s -race ./...
 
 vet:
 	go vet ./...