Skip to content

Commit 5205bb8

Browse files
committed
disable tests
1 parent 47f39fb commit 5205bb8

File tree

6 files changed

+346
-69
lines changed

6 files changed

+346
-69
lines changed

azure/templates/post-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ steps:
226226
227227
displayName: Run batch test parallel
228228
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/e2e_batch"
229-
condition: eq(1, 1) # Disable task but make this step visible in the pipeline
229+
condition: eq(2, 1) # Disable task but make this step visible in the pipeline
230230
231231
- task: PublishTestResults@2
232232
displayName: 'Publish test results'

e2e_batch/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
APIGEE_ACCESS_TOKEN ?= $(shell export SSO_LOGIN_URL=https://login.apigee.com && eval get_token -u $(APIGEE_USERNAME))
44
AWS_DOMAIN_NAME=https://$(shell make -C ../terraform -s output name=service_domain_name || true)
5-
PARALLEL_WORKERS=4
5+
PARALLEL_WORKERS=1
66

77
print-token:
88
@echo "APIGEE_ACCESS_TOKEN=$(APIGEE_ACCESS_TOKEN)"
@@ -13,3 +13,6 @@ run-immunization-batch:
1313

1414
test:
1515
ENVIRONMENT=$(ENVIRONMENT) time poetry run unittest-parallel -v -j $(PARALLEL_WORKERS)
16+
17+
test2:
18+
ENVIRONMENT=$(ENVIRONMENT) poetry run pytest -n $(PARALLEL_WORKERS) -v

e2e_batch/poetry.lock

Lines changed: 127 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e_batch/pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ unittest-parallel = "^1.7.5"
1616

1717
[tool.poetry.group.dev.dependencies]
1818
unittest-parallel = "^1.7.5"
19+
pytest = "^8.4.1"
20+
pytest-xdist = "^3.8.0"
1921

0 commit comments

Comments
 (0)