Skip to content

Commit 1aa9449

Browse files
committed
fix: increase unit test timeout to 10s to fix the sealight unit test failure
1 parent 5179146 commit 1aa9449

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ TEST_OUTPUT_FILTER=grep -vE '0.0% of statements|\[no test files\]'
102102
.PHONY: test
103103
test: ## 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+
@set -o pipefail && go test -race -covermode=atomic -coverprofile=coverage-unit.out -timeout 10s -tags=unit ./... | $(TEST_OUTPUT_FILTER)
106106
@echo "Integration tests:"
107107
@set -o pipefail && go test -race -covermode=atomic -coverprofile=coverage-integration.out -timeout 15s -tags=integration ./... | $(TEST_OUTPUT_FILTER)
108108
# Given the nature of generative tests the test timeout is increased from 500ms

0 commit comments

Comments
 (0)