fix(cd): align ssh keyscan boundary contract
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m35s
CD Pipeline / build-and-deploy (push) Failing after 6m7s
CD Pipeline / post-deploy-checks (push) Has been skipped
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m35s
CD Pipeline / build-and-deploy (push) Failing after 6m7s
CD Pipeline / post-deploy-checks (push) Has been skipped
This commit is contained in:
@@ -115,7 +115,7 @@ def test_cd_applies_rolls_back_and_verifies_network_boundary() -> None:
|
|||||||
"192.168.0.110 192.168.0.112 192.168.0.120 "
|
"192.168.0.110 192.168.0.112 192.168.0.120 "
|
||||||
"192.168.0.121 192.168.0.188"
|
"192.168.0.121 192.168.0.188"
|
||||||
)
|
)
|
||||||
assert f"ssh-keyscan {expected_hosts}" in workflow
|
assert f"ssh-keyscan -T 5 {expected_hosts}" in workflow
|
||||||
assert "EXPECTED_HOSTS=5" in workflow
|
assert "EXPECTED_HOSTS=5" in workflow
|
||||||
assert workflow.count(expected_hosts) >= 4
|
assert workflow.count(expected_hosts) >= 4
|
||||||
assert "len(reachable) == len(sys.argv) - 1" in workflow
|
assert "len(reachable) == len(sys.argv) - 1" in workflow
|
||||||
|
|||||||
Reference in New Issue
Block a user