From e57f26446da59a6401b2c9bbf3b859ad3bfeb983 Mon Sep 17 00:00:00 2001 From: lb584 <lb584@cam.ac.uk> Date: Mon, 7 Nov 2022 17:00:14 +0000 Subject: [PATCH] experimenting with a fake sshkey file to try to stop errors being thrown when running tests --- .../configs/config_EastAfrica_fc_live.json | 2 +- .../coordinator/configs/fake_ssh_key | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 tests/test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/fake_ssh_key diff --git a/tests/test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json b/tests/test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json index 12cf382..fb841c1 100644 --- a/tests/test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json +++ b/tests/test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/config_EastAfrica_fc_live.json @@ -8,7 +8,7 @@ "ResourcesPath" : "../test_data/test_deployment/regions/EastAfrica/resources/", "ServerPath" : "/storage/moved/Ethiopia/", "ServerName" : "ewsmanager@willow.csx.cam.ac.uk", - "ServerKey" : "../test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/ssh_key_willow", + "ServerKey" : "../test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/fake_ssh_key", "Survey" : { "ProcessPreJob" : "process_pre_job_survey", "ProcessInJob" : "process_in_job_survey", diff --git a/tests/test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/fake_ssh_key b/tests/test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/fake_ssh_key new file mode 100644 index 0000000..303ef26 --- /dev/null +++ b/tests/test_data/test_deployment/regions/EastAfrica/resources/coordinator/configs/fake_ssh_key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEogIBAAKCAQEAj68M3gPjV7KdNOKWB9ZRolAtVcsUXt1cxmgp3pQEkNbtQdda +BBt5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