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

This commit is contained in:
ogt
2026-07-14 09:21:08 +08:00
parent 8a9f367ae6
commit fa2df9a0f4

View File

@@ -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.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 workflow.count(expected_hosts) >= 4
assert "len(reachable) == len(sys.argv) - 1" in workflow