From 4d7ab29b1b34e64107c97492503f37a1db95c08e Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Jul 2026 19:29:45 +0800 Subject: [PATCH] test(cd): align six-host known-hosts gate --- apps/api/tests/test_cd_known_hosts_recovery_gate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/tests/test_cd_known_hosts_recovery_gate.py b/apps/api/tests/test_cd_known_hosts_recovery_gate.py index c408fcc67..a6859f2ce 100644 --- a/apps/api/tests/test_cd_known_hosts_recovery_gate.py +++ b/apps/api/tests/test_cd_known_hosts_recovery_gate.py @@ -11,7 +11,7 @@ def test_cd_known_hosts_gate_retries_and_verifies_preserved_secret() -> None: assert "for scan_attempt in 1 2 3" in gate assert 'sleep "\\$scan_attempt"' in gate - assert "existing ssh-mcp-key verified 5/5 and preserved" in gate + assert "existing ssh-mcp-key verified 6/6 and preserved" in gate assert "EXISTING_PRESENT=\\$((EXISTING_PRESENT + 1))" in gate assert 'if [ "\\$EXISTING_PRESENT" -eq "\\$EXPECTED_HOSTS" ]' in gate assert 'rm -f "\\$EXISTING_KNOWN_HOSTS"' in gate