Maybe a test timeout of 3s is too short?

This commit is contained in:
James Mills 2022-04-04 11:14:12 +10:00
父節點 345efdc0f6
當前提交 dc0e0bc1aa
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: AC4C014F1440EBD6

查看文件

@ -71,14 +71,14 @@ fmt:
@$(GOCMD) fmt ./...
test:
@CGO_ENABLED=1 $(GOCMD) test -d -v -cover -race -timeout 3s ./...
@CGO_ENABLED=1 $(GOCMD) test -d -v -cover -race -timeout 30s ./...
coverage:
@CGO_ENABLED=1 $(GOCMD) test -d -v -cover -race -timeout 3s -cover -coverprofile=coverage.out ./...
@CGO_ENABLED=1 $(GOCMD) test -d -v -cover -race -timeout 30s -cover -coverprofile=coverage.out ./...
@$(GOCMD) tool cover -html=coverage.out
bench:
@CGO_ENABLED=1 $(GOCMD) test -d -v -cover -race -timeout 3s -cover -coverprofile=coverage.out ./...
@CGO_ENABLED=1 $(GOCMD) test -d -v -cover -race -timeout 30s -cover -coverprofile=coverage.out ./...
@CGO_ENABLED=1 $(GOCMD) test -race -benchtime=1x -cpu 16 -benchmem -bench "^(Benchmark)" .
clean: