Медленные тесты выделены в отдельную группу и запускаются с count=10
parent
9ba7334cc3
commit
b559eb6952
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ unit-test-fast:
|
||||||
go test -race -count 100 -timeout 30s -short ./internal/...
|
go test -race -count 100 -timeout 30s -short ./internal/...
|
||||||
|
|
||||||
unit-test-slow:
|
unit-test-slow:
|
||||||
go test -race -count 10 -timeout 150s -run Slow ./internal/...
|
go test -race -timeout 150s -run Slow ./internal/...
|
||||||
|
|
||||||
integration-test:
|
integration-test:
|
||||||
go test -v ./cmd/...
|
go test -v ./cmd/...
|
||||||
|
|
Loading…
Reference in New Issue