Hi,
I have some targets meant for running tests projects in parallel that are using WITH DOCKER to run a Rabbimq service before running the tests. Using v0.6.25 I can see how the test-executor instances are running fully in parallel loading the rabbitmq tar files in parallel etc. However when using v0.6.28 this is not the case anymore and the test-executor instances are running sequentially instead. Is there a way to prevent this from happening?
parallel-testing:
FROM +build
WAIT
FOR dir IN $(ls Tests/*Tests/*.csproj)
COPY (+test-executor/TestResults --PROJECT=./$dir) ./TestResults
END
SAVE ARTIFACT ./TestResults testresults AS LOCAL earthly-artifacts/testresults
END
test-executor:
FROM +build
ARG PROJECT
ARG ID
COPY docker-compose-unit-tests-rabbitmq.yml .
COPY coverlet.runsettings .
WITH DOCKER \
--compose docker-compose-unit-tests-rabbitmq.yml \
--service rabbitmq
RUN dotnet test ${PROJECT} --blame-hang-timeout 5m --no-build --collect:"XPlat Code Coverage" -p:CollectCoverage=true --settings coverlet.runsettings --logger trx --configuration $buildConfiguration --results-directory ./TestResults
END
SAVE ARTIFACT ./TestResults TestResults
Hi,
I have some targets meant for running tests projects in parallel that are using WITH DOCKER to run a Rabbimq service before running the tests. Using v0.6.25 I can see how the test-executor instances are running fully in parallel loading the rabbitmq tar files in parallel etc. However when using v0.6.28 this is not the case anymore and the test-executor instances are running sequentially instead. Is there a way to prevent this from happening?