File tree Expand file tree Collapse file tree
spring-sftp-upload-demo/src/test/java/com/pavelsklenar Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import java .nio .file .Path ;
99import java .util .List ;
1010import java .util .stream .Collectors ;
11- import java .util .stream .Stream ;
1211
1312import org .junit .AfterClass ;
1413import org .junit .Before ;
2423
2524@ RunWith (SpringRunner .class )
2625@ SpringBootTest
27- @ TestPropertySource (properties = { "sftp.port = 2223 " })
26+ @ TestPropertySource (properties = { "sftp.port = 10022 " })
2827public class SpringSftpUploadDemoApplicationTests {
2928
3029 @ Autowired
@@ -37,7 +36,7 @@ public class SpringSftpUploadDemoApplicationTests {
3736 @ BeforeClass
3837 public static void startServer () throws Exception {
3938 server = new EmbeddedSftpServer ();
40- server .setPort (2223 );
39+ server .setPort (10022 );
4140 sftpFolder = Files .createTempDirectory ("SFTP_UPLOAD_TEST" );
4241 server .afterPropertiesSet ();
4342 server .setHomeFolder (sftpFolder );
You can’t perform that action at this time.
0 commit comments