Skip to content

Commit 45be122

Browse files
committed
Fix test on parallel execution.
1 parent af92893 commit 45be122

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ftp/src/test/java/ch/cyberduck/core/ftp/AbstractFTPTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
public class AbstractFTPTest {
6262

63-
private static final int PORT_NUMBER = ThreadLocalRandom.current().nextInt(2000, 3000);
63+
private final int PORT_NUMBER = ThreadLocalRandom.current().nextInt(2000, 3000);
6464

6565
protected FTPSession session;
6666

webdav/src/test/java/ch/cyberduck/core/dav/AbstractDAVTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public class AbstractDAVTest extends VaultTest {
8989
protected DAVSession session;
9090

9191
private SimpletonServer server;
92-
private static final int PORT_NUMBER = ThreadLocalRandom.current().nextInt(2000, 3000);
92+
private final int PORT_NUMBER = ThreadLocalRandom.current().nextInt(2000, 3000);
9393

9494
@Parameterized.Parameters(name = "vaultVersion = {0}")
9595
public static Object[] data() {

0 commit comments

Comments
 (0)