Skip to content

Commit

Permalink
Speeds up java client tests (#378)
Browse files Browse the repository at this point in the history
* Updates pom to include profile for java17clients

* Adjusts packaging

* Adjusts testJava17ClientSamples job

* Updates path to file

* Fixes filepath typo

* Reverts pom
  • Loading branch information
spacether committed Jan 22, 2024
1 parent 602765f commit d111cf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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)

0 comments on commit d111cf9

Please sign in to comment.