From a3c3056e64c20c31fbd0510daae4d600275bbb39 Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Wed, 29 Jul 2020 15:37:54 +1000 Subject: [PATCH] shell/openssh: set test log level to DEBUG3 See https://github.com/UQ-RCC/nimrodg/issues/36 --- .../test/java/au/edu/uq/rcc/nimrodg/shell/ShellTests.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nimrodg-shell/src/test/java/au/edu/uq/rcc/nimrodg/shell/ShellTests.java b/nimrodg-shell/src/test/java/au/edu/uq/rcc/nimrodg/shell/ShellTests.java index 58f4eda49..cfbc5be06 100644 --- a/nimrodg-shell/src/test/java/au/edu/uq/rcc/nimrodg/shell/ShellTests.java +++ b/nimrodg-shell/src/test/java/au/edu/uq/rcc/nimrodg/shell/ShellTests.java @@ -74,7 +74,8 @@ public void opensshClientTest() throws IOException { /* Use the on-disk key. */ try(OpenSSHClient client = new OpenSSHClient(uri, tmpDir.getRoot().toPath(), Optional.of(keyPath), Optional.of(openSsh), Map.of( "StrictHostKeyChecking", "no", - "UserKnownHostsFile", "/dev/null" + "UserKnownHostsFile", "/dev/null", + "LogLevel", "DEBUG3" ))) { testClient(client); } @@ -82,7 +83,8 @@ public void opensshClientTest() throws IOException { /* Use the in-memory key. */ try(OpenSSHClient client = new OpenSSHClient(uri, tmpDir.getRoot().toPath(), Optional.of(memKeyPath), Optional.of(openSsh), Map.of( "StrictHostKeyChecking", "no", - "UserKnownHostsFile", "/dev/null" + "UserKnownHostsFile", "/dev/null", + "LogLevel", "DEBUG3" ))) { testClient(client); }