Explorar el Código

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 hace 10 años
padre
commit
44d2339061
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 ./...