Skip to content

Commit 7e20f84

Browse files
committed
Move test to internal/test
1 parent 0777080 commit 7e20f84

File tree

708 files changed

+602
-602
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

708 files changed

+602
-602
lines changed

.github/workflows/pull_request_integration_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
./.tools/gotestsum -ftestname \
8686
--jsonfile=/home/runner/reports/test-run-"${RUN_NUMBER}"-"${MATRIX_ID}".log \
8787
-- -race -tags=${TEST_TAGS} -timeout 30m \
88-
-run="^(${MATRIX_TEST_PATTERN})$" ./test/integration/...
88+
-run="^(${MATRIX_TEST_PATTERN})$" ./internal/test/integration/...
8989
9090
- name: Process coverage data
9191
run: make itest-coverage-data

.github/workflows/workflow_integration_tests_vm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Pre-compile Go integration tests
7474
run: |
7575
mkdir compiled-tests
76-
CC=musl-gcc CGO_ENABLED=1 go test -c -tags=integration -ldflags="-s -w" -o compiled-tests/ ./test/integration/...
76+
CC=musl-gcc CGO_ENABLED=1 go test -c -tags=integration -ldflags="-s -w" -o compiled-tests/ ./internal/test/integration/...
7777
7878
- name: Run VM integration tests (${{ matrix.test.description }})
7979
timeout-minutes: 60

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,13 @@ cleanup-integration-test: $(KIND)
263263
run-integration-test:
264264
@echo "### Running integration tests"
265265
go clean -testcache
266-
go test -p 1 -failfast -v -timeout 60m -a ./test/integration/... --tags=integration
266+
go test -p 1 -failfast -v -timeout 60m -a ./internal/test/integration/... --tags=integration
267267

268268
.PHONY: run-integration-test-k8s
269269
run-integration-test-k8s:
270270
@echo "### Running integration tests"
271271
go clean -testcache
272-
go test -p 1 -failfast -v -timeout 60m -a ./test/integration/... --tags=integration_k8s
272+
go test -p 1 -failfast -v -timeout 60m -a ./internal/test/integration/... --tags=integration_k8s
273273

274274
.PHONY: run-integration-test-vm
275275
run-integration-test-vm:
@@ -294,14 +294,14 @@ run-integration-test-vm:
294294
-failfast \
295295
-v -a \
296296
-tags=integration \
297-
-run="^($(TEST_PATTERN))\$$" ./test/integration/...; \
297+
-run="^($(TEST_PATTERN))\$$" ./internal/test/integration/...; \
298298
fi
299299

300300
.PHONY: run-integration-test-arm
301301
run-integration-test-arm:
302302
@echo "### Running integration tests"
303303
go clean -testcache
304-
go test -p 1 -failfast -v -timeout 90m -a ./test/integration/... --tags=integration -run "^TestMultiProcess"
304+
go test -p 1 -failfast -v -timeout 90m -a ./internal/test/integration/... --tags=integration -run "^TestMultiProcess"
305305

306306
.PHONY: integration-test-matrix-json
307307
integration-test-matrix-json:

README.md

Lines changed: 1 addition & 1 deletion
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)