Browse Source

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 years ago
parent
commit
44d2339061
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

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