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

Commit d111cf9

Browse files
authored
Speeds up java client tests (#378)
* Updates pom to include profile for java17clients * Adjusts packaging * Adjusts testJava17ClientSamples job * Updates path to file * Fixes filepath typo * Reverts pom
1 parent 602765f commit d111cf9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.circleci/parallel.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ elif [ "$JOB_ID" = "testPythonClientSamples" ]; then
2828
elif [ "$JOB_ID" = "testJava17ClientSamples" ]; then
2929
echo "Running job $JOB_ID ..."
3030
java -version
31-
32-
(cd samples/client/petstore/java && mvn test)
33-
(cd samples/client/3_0_3_unit_test/java && mvn test)
34-
(cd samples/client/3_1_0_unit_test/java && mvn test)
31+
cat ./.circleci/testJava17ClientSamples.sh | parallel
3532

3633
else
3734
echo "Running job $JOB_ID"

.circleci/testJava17ClientSamples.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
(cd samples/client/petstore/java && mvn test)
2+
(cd samples/client/3_0_3_unit_test/java && mvn test)
3+
(cd samples/client/3_1_0_unit_test/java && mvn test)

0 commit comments

Comments
 (0)