Skip to content
Permalink
Browse files
Tidy up
  • Loading branch information
sebbASF committed Aug 1, 2021
1 parent 719771a commit 375b04f4b72dc9f6872ee248c09fe85b798fabfb
Showing 2 changed files with 4 additions and 2 deletions.
@@ -22,7 +22,7 @@ jobs:

runs-on: ubuntu-latest
timeout-minutes: 5
continue-on-error: true # ${{ matrix.experimental }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
java: [ 8, 11, 16 ]
@@ -192,7 +192,9 @@ private FTPSClient loginClient() throws SocketException, IOException {
assertEquals(SocketPort, client.getRemotePort());
//
try {
Thread.sleep(200); // See if a short sleep before USER command helps
// HACK: Without this sleep, the user command sometimes does not reach the ftpserver
// This only seems to affect GitHub builds, and only Java 11+
Thread.sleep(200); // 100 seems to be not always enough
} catch (InterruptedException e) {};
assertTrue(client.login("test", "test"));
assertClientCode(client);

0 comments on commit 375b04f

Please sign in to comment.