From 525e9e51644aa9b244265dd17eb9f36c0ab7f01d Mon Sep 17 00:00:00 2001 From: Joe Osborn Date: Fri, 7 Feb 2020 09:28:10 -0500 Subject: [PATCH] change test Signed-off-by: Joe Osborn --- .../org/eclipse/ice/tests/commands/CommandFactoryTest.java | 6 +++--- .../eclipse/ice/tests/commands/ConnectionManagerTest.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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 72572b32f..1b31c6703 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,11 +178,11 @@ 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"; + String keyPath = System.getProperty("user.home") + "/.ssh/somekey"; ConnectionAuthorizationHandler auth = authFactory.getConnectionAuthorizationHandler("keypath", keyPath); - auth.setHostname("denisovan"); - auth.setUsername("4jo"); + auth.setHostname("hostname"); + auth.setUsername("password"); // Set it ConnectionConfiguration firstConn = new ConnectionConfiguration(); firstConn.setAuthorization(auth); diff --git a/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/ConnectionManagerTest.java b/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/ConnectionManagerTest.java index 4a17d3690..250f99c8b 100644 --- a/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/ConnectionManagerTest.java +++ b/org.eclipse.ice.commands/src/test/java/org/eclipse/ice/tests/commands/ConnectionManagerTest.java @@ -327,11 +327,11 @@ public void testForwardConnection() throws IOException { ConnectionAuthorizationHandlerFactory authFactory = new ConnectionAuthorizationHandlerFactory(); // Request a ConnectionAuthorization of type text file which contains the // credentials - String keyPath = System.getProperty("user.home") + "/.ssh/denisovankey"; + String keyPath = System.getProperty("user.home") + "/.ssh/somekey"; ConnectionAuthorizationHandler auth = authFactory.getConnectionAuthorizationHandler("keypath", keyPath); - auth.setHostname("denisovan"); - auth.setUsername("4jo"); + auth.setHostname("hostname"); + auth.setUsername("password"); ConnectionConfiguration config = new ConnectionConfiguration(); config.setAuthorization(auth); config.setName("forwardConnection");