Skip to content

Commit abd1a8a

Browse files
committed
fix: Add e2e build tag to Makefile test-e2e target
The test-e2e target was failing because it didn't include the -tags=e2e build flag required by the E2E test files. All E2E test files have the //go:build e2e directive, so the go test command needs -tags=e2e to discover and run them. Changes: - Makefile:221: Added -tags=e2e to go test command This enables running E2E tests with: make test-e2e Related to Task #3765: E2E cluster readiness validation
1 parent 9881de0 commit abd1a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ test-integration:
218218
test-e2e:
219219
@$(call print_status,"Running E2E tests...")
220220
@if [ -d "test/e2e" ]; then \
221-
go test ./test/e2e/... -v -timeout 10m; \
221+
go test -tags=e2e ./test/e2e/... -v -timeout 10m; \
222222
else \
223223
$(call print_warning,"E2E tests not yet implemented (test/e2e/ does not exist)"); \
224224
fi

0 commit comments

Comments
 (0)