Skip to content

Commit 8dcb94f

Browse files
committed
Change import namespace of ScpCommandFactory to avoid failure of unit test
1 parent c81eb19 commit 8dcb94f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
testCompile "junit:junit:4.+"
2828
testCompile "org.embulk:embulk-core:0.7.+:tests"
2929
testCompile "org.embulk:embulk-standards:0.7.+"
30-
testCompile "org.apache.sshd:apache-sshd:1.+"
30+
testCompile "org.apache.sshd:apache-sshd:1.1.0+"
3131
}
3232

3333
jacocoTestReport {

src/test/java/org/embulk/output/sftp/TestSftpFileOutputPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
import org.apache.sshd.server.SshServer;
1414
import org.apache.sshd.server.auth.password.PasswordAuthenticator;
1515
import org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator;
16-
import org.apache.sshd.server.command.ScpCommandFactory;
1716
import org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider;
17+
import org.apache.sshd.server.scp.ScpCommandFactory;
1818
import org.apache.sshd.server.session.ServerSession;
1919
import org.apache.sshd.server.subsystem.sftp.SftpSubsystemFactory;
2020
import org.embulk.EmbulkTestRuntime;

0 commit comments

Comments
 (0)