From 1317365f0cd0cad448d4b88820f71779b7d607fd Mon Sep 17 00:00:00 2001 From: Joe Osborn Date: Thu, 6 Feb 2020 16:35:36 -0500 Subject: [PATCH] Fixed path to key in test Signed-off-by: Joe Osborn --- .../org/eclipse/ice/tests/commands/CommandFactoryTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/CommandFactoryTest.java b/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/CommandFactoryTest.java index 5b3b2ba28..72572b32f 100644 --- a/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/CommandFactoryTest.java +++ b/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/CommandFactoryTest.java @@ -178,8 +178,9 @@ public void testMultiHopRemoteCommand() { ConnectionAuthorizationHandlerFactory authFactory = new ConnectionAuthorizationHandlerFactory(); // Request a ConnectionAuthorization of type text file which contains the // credentials + String keyPath = System.getProperty("user.home") + "/.ssh/denisovankey"; ConnectionAuthorizationHandler auth = authFactory.getConnectionAuthorizationHandler("keypath", - "/home/4jo/.ssh/denisovankey"); + keyPath); auth.setHostname("denisovan"); auth.setUsername("4jo"); // Set it