File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/test/java/org/embulk/output/sftp Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
3333jacocoTestReport {
Original file line number Diff line number Diff line change 1313import org .apache .sshd .server .SshServer ;
1414import org .apache .sshd .server .auth .password .PasswordAuthenticator ;
1515import org .apache .sshd .server .auth .pubkey .PublickeyAuthenticator ;
16- import org .apache .sshd .server .command .ScpCommandFactory ;
1716import org .apache .sshd .server .keyprovider .SimpleGeneratorHostKeyProvider ;
17+ import org .apache .sshd .server .scp .ScpCommandFactory ;
1818import org .apache .sshd .server .session .ServerSession ;
1919import org .apache .sshd .server .subsystem .sftp .SftpSubsystemFactory ;
2020import org .embulk .EmbulkTestRuntime ;
@@ -103,7 +103,7 @@ public void createResources()
103103 // setup a mock sftp server
104104 sshServer = SshServer .setUpDefaultServer ();
105105 VirtualFileSystemFactory fsFactory = new VirtualFileSystemFactory ();
106- fsFactory .setUserHomeDir (USERNAME , testFolder .getRoot ().getAbsolutePath ());
106+ fsFactory .setUserHomeDir (USERNAME , testFolder .getRoot ().toPath ());
107107 sshServer .setFileSystemFactory (fsFactory );
108108 sshServer .setHost (HOST );
109109 sshServer .setPort (PORT );
You can’t perform that action at this time.
0 commit comments