File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ steps:
199199 poetry env use 3.11
200200 set -e
201201 if ! [[ "$APIGEE_ENVIRONMENT" == "prod" || "$APIGEE_ENVIRONMENT" == "int" || "$APIGEE_ENVIRONMENT" == *"sandbox" ]]; then
202- echo "Running E2E batch folder test cases"
202+ echo "Running E2E batch folder test cases (Parallel) "
203203
204204 export AWS_PROFILE="apim-dev"
205205 aws_account_no="$(aws sts get-caller-identity --query Account --output text)"
@@ -217,14 +217,14 @@ steps:
217217 poetry install --no-root # Install dependencies defined in pyproject.toml
218218
219219 # ENVIRONMENT="$workspace" poetry run python -m unittest -v -c
220- ENVIRONMENT="$workspace" poetry run unittest-parallel -v -j 4
220+ ENVIRONMENT="$workspace" time poetry run unittest-parallel -v -j 4
221221
222222 echo "E2E batch folder test cases executed successfully"
223223 else
224224 echo "Skipping E2E batch folder test cases as the environment is prod-int-sandbox"
225225 fi
226226
227- displayName: Run full batch test suite
227+ displayName: Run batch test parallel
228228 workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/e2e_batch"
229229 condition: eq(1, 1) # Disable task but make this step visible in the pipeline
230230
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ print-token:
1111run-immunization-batch :
1212 ENVIRONMENT=$(environment ) poetry run python -m unittest -v -c
1313
14- run-immunization-batch1 :
15- ENVIRONMENT=$(ENVIRONMENT ) poetry run unittest -v -j $(PARALLEL_WORKERS )
14+ test :
15+ ENVIRONMENT=$(ENVIRONMENT ) time poetry run unittest-parallel -v -j $(PARALLEL_WORKERS )
You can’t perform that action at this time.
0 commit comments