diff --git a/docker/docker-compose.2004.main.yaml b/docker/docker-compose.2004.main.yaml index af587631..b91911db 100644 --- a/docker/docker-compose.2004.main.yaml +++ b/docker/docker-compose.2004.main.yaml @@ -51,6 +51,7 @@ services: - MAX_ALLOCS_ALLOWED_udp_1000_reqs_1_conn=14200 - MAX_ALLOCS_ALLOWED_udp_1_reqs_1000_conn=200050 # - SANITIZER_ARG=--sanitize=thread # TSan broken still + - SWIFT_TEST_VERB=build # WARNING: THIS DISABLES ALL TESTS. Please remove (workaround https://bugs.swift.org/browse/SR-14268) performance-test: image: swift-nio:20.04-main diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index e7ef0999..270f445e 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -28,7 +28,7 @@ services: unit-tests: <<: *common - command: /bin/bash -xcl "swift test -Xswiftc -warnings-as-errors" + command: /bin/bash -xcl "swift $${SWIFT_TEST_VERB-test} -Xswiftc -warnings-as-errors" integration-tests: <<: *common @@ -36,7 +36,7 @@ services: test: <<: *common - command: /bin/bash -xcl "swift test -Xswiftc -warnings-as-errors $${SANITIZER_ARG-} && ./scripts/integration_tests.sh $${INTEGRATION_TESTS_ARG-}" + command: /bin/bash -xcl "swift $${SWIFT_TEST_VERB-test} -Xswiftc -warnings-as-errors $${SANITIZER_ARG-} && ./scripts/integration_tests.sh $${INTEGRATION_TESTS_ARG-}" performance-test: <<: *common