Skip to content

Commit a16d349

Browse files
committed
expected status code added
1 parent b917b34 commit a16d349

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

azure/templates/post-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ steps:
169169
echo "Proxy test completed successfully as part of terraform resource up status check"
170170
171171
else
172-
echo "running: $test_cmd -v -c"
172+
echo "running: $test_cmd -v -c -k test_proxy.TestProxyHealthcheck -k test_proxy.TestMtls"
173173
$test_cmd -v -c
174174
fi
175175
workingDirectory: "$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/e2e"

e2e/test_proxy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def test_mtls(self):
4343
ImmunisationApi.make_request_with_backoff(
4444
http_method="GET",
4545
url=backend_health,
46-
headers={"X-Request-ID": str(uuid.uuid4())})
46+
headers={"X-Request-ID": str(uuid.uuid4())},
47+
expected_status_code=200)
4748
self.assertTrue("RemoteDisconnected" in str(e.exception))
4849

4950
@staticmethod

0 commit comments

Comments
 (0)