Skip to content

Commit

Permalink
Remove unneeded logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
norrisjeremy committed Jan 8, 2023
1 parent 555b203 commit a8a45cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/test/java/com/jcraft/jsch/KeyPairIT.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.jcraft.jsch;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import org.testcontainers.containers.GenericContainer;
Expand All @@ -22,11 +21,6 @@ public class KeyPairIT {
.withFileFromClasspath("authorized_keys", "docker/authorized_keys.KeyPairIT")
.withFileFromClasspath("Dockerfile", "docker/Dockerfile.KeyPairIT")).withExposedPorts(22);

@BeforeAll
public static void beforeAll() {
JSch.setLogger(new Slf4jLogger());
}

@ParameterizedTest
@MethodSource("com.jcraft.jsch.KeyPairTest#keyArgs")
void connectWithPublicKey(String path, String password, String keyType) throws Exception {
Expand Down
6 changes: 0 additions & 6 deletions src/test/java/com/jcraft/jsch/KeyPairTest.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.jcraft.jsch;

import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import org.junit.jupiter.params.ParameterizedTest;
Expand All @@ -22,11 +21,6 @@ class KeyPairTest {
@TempDir
public Path tmpDir;

@BeforeAll
static void init() {
JSch.setLogger(new Slf4jLogger());
}

static Stream<Arguments> keyArgs() {
return Stream.of(
// docker/id_rsa rsa
Expand Down

0 comments on commit a8a45cd

Please sign in to comment.