File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ TEST_OUTPUT_FILTER=grep -vE '0.0% of statements|\[no test files\]'
102102.PHONY : test
103103test : # # Run all unit tests
104104 @echo " Unit tests:"
105- @set -o pipefail && go test -race -covermode=atomic -coverprofile=coverage-unit.out -timeout 1s -tags=unit ./... | $(TEST_OUTPUT_FILTER )
105+ # The timeout here was previously 1 second, but we've made it longer because we were seeing timeouts when testing with Sealights
106+ @set -o pipefail && go test -race -covermode=atomic -coverprofile=coverage-unit.out -timeout 10s -tags=unit ./... | $(TEST_OUTPUT_FILTER)
106107 @echo "Integration tests:"
107108 @set -o pipefail && go test -race -covermode=atomic -coverprofile=coverage-integration.out -timeout 15s -tags=integration ./... | $(TEST_OUTPUT_FILTER)
108109# Given the nature of generative tests the test timeout is increased from 500ms
You can’t perform that action at this time.
0 commit comments