浏览代码

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 年之前
父节点
当前提交
44d2339061
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 ./...