diff --git a/.gitlab/ci/.test.yml b/.gitlab/ci/.test.yml index 3f1a916c76ce5f4f0eea1bd835f6ca5eb2143d7e..330df962f3d68663f3190986341e12b599641738 100644 --- a/.gitlab/ci/.test.yml +++ b/.gitlab/ci/.test.yml @@ -37,5 +37,5 @@ integration-test-gosdn: - mv artifacts/ssl/gosdn/private artifacts/ssl/ - make build-gosdn - cd artifacts && GOSDN_ADMIN_PASSWORD=TestPassword ./gosdn --config ../controller/configs/integration-test-gosdn.toml --security secure & - - INTEGRATION_TEST_CONTROLLER_URL="localhost:55055" go test ./integration-tests/* + - INTEGRATION_TEST_CONTROLLER_URL="localhost:55055" go test -p 1 ./integration-tests/* <<: *test diff --git a/Makefile b/Makefile index 6530b4e9be2caf8a8a5bf5ac67dbc44004fb9c88..d1d601892858dc3c67f710ae3f9b7436c419af68 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ generate-certs: generate-gnmi-target-certs generate-gosdn-certs integration-tests: generate-certs containerize-gosdn containerize-plugin-registry docker-compose -f dev_env_data/docker-compose/integration-test_docker-compose.yml down docker-compose -f dev_env_data/docker-compose/integration-test_docker-compose.yml up -d - go test ./integration-tests/* + go test -p 1 ./integration-tests/* docker-compose -f dev_env_data/docker-compose/integration-test_docker-compose.yml down integration-tests-debug-up: generate-certs containerize-gosdn containerize-plugin-registry