Skip to content

Commit

Permalink
Shorter sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Aug 1, 2021
1 parent d528c74 commit c16df1b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/java/org/apache/commons/net/ftp/FTPSClientTest.java
Expand Up @@ -177,9 +177,6 @@ private void assertClientCode(final FTPSClient client) {

private FTPSClient loginClient() throws SocketException, IOException {
trace(">>loginClient");
// try {
// Thread.sleep(5000); // See if a short sleep between logins helps
// } catch (InterruptedException e) {};
final FTPSClient client = new FTPSClient(IMPLICIT);
client.addProtocolCommandListener(new PrintCommandListener(System.err));
//
Expand Down Expand Up @@ -207,7 +204,7 @@ private FTPSClient loginClient() throws SocketException, IOException {
//
trace(">>loginClient-login");
try {
Thread.sleep(1000); // See if a short sleep before USER command helps
Thread.sleep(500); // See if a short sleep before USER command helps
} catch (InterruptedException e) {};
assertTrue(client.login("test", "test"));
assertClientCode(client);
Expand Down

0 comments on commit c16df1b

Please sign in to comment.