From 14c4cae8d3da802ff551ab9116ae874d47b6ef27 Mon Sep 17 00:00:00 2001 From: marshmallow Date: Wed, 22 Oct 2025 17:01:59 +1100 Subject: [PATCH] remove irrelevant ssh key subtesttest now that StrictHostKeyChecking defaults to accept-new --- tests/nix/suite/test_remote_deploy/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/nix/suite/test_remote_deploy/default.nix b/tests/nix/suite/test_remote_deploy/default.nix index 9f1b2c7..a48d467 100644 --- a/tests/nix/suite/test_remote_deploy/default.nix +++ b/tests/nix/suite/test_remote_deploy/default.nix @@ -13,12 +13,6 @@ with subtest("Test unreachable hosts"): deployer.fail(f"wire apply --on receiver-unreachable --no-progress --path {TEST_DIR}/hive.nix --no-keys -vvv >&2") - with subtest("Test ssh host key logic"): - # ran without --ssh-accept-host, should fail because we have never seen this node before - deployer.fail(f"wire apply push --on receiver --no-progress --path {TEST_DIR}/hive.nix --no-keys -vvv >&2") - # ran --ssh-accept-host, should succeed - deployer.succeed(f"wire apply push --on receiver --no-progress --path {TEST_DIR}/hive.nix --no-keys --ssh-accept-host -vvv >&2") - with subtest("Check basic apply: Interactive"): deployer.succeed(f"wire apply --on receiver --no-progress --path {TEST_DIR}/hive.nix --no-keys --ssh-accept-host -vvv >&2") -- 2.51.2