Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Speeds up java client tests #378

Merged
merged 6 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .circleci/parallel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ elif [ "$JOB_ID" = "testPythonClientSamples" ]; then
elif [ "$JOB_ID" = "testJava17ClientSamples" ]; then
echo "Running job $JOB_ID ..."
java -version

(cd samples/client/petstore/java && mvn test)
(cd samples/client/3_0_3_unit_test/java && mvn test)
(cd samples/client/3_1_0_unit_test/java && mvn test)
cat ./.circleci/testJava17ClientSamples.sh | parallel

else
echo "Running job $JOB_ID"
Expand Down
3 changes: 3 additions & 0 deletions .circleci/testJava17ClientSamples.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(cd samples/client/petstore/java && mvn test)
(cd samples/client/3_0_3_unit_test/java && mvn test)
(cd samples/client/3_1_0_unit_test/java && mvn test)