diff --git a/client-flink/flink-1.16/src/test/java/org/apache/celeborn/plugin/flink/RemoteShuffleMasterTest.java b/client-flink/flink-1.16/src/test/java/org/apache/celeborn/plugin/flink/RemoteShuffleMasterSuiteJ.java similarity index 97% rename from client-flink/flink-1.16/src/test/java/org/apache/celeborn/plugin/flink/RemoteShuffleMasterTest.java rename to client-flink/flink-1.16/src/test/java/org/apache/celeborn/plugin/flink/RemoteShuffleMasterSuiteJ.java index 079cbc5b1d..8b474e56c0 100644 --- a/client-flink/flink-1.16/src/test/java/org/apache/celeborn/plugin/flink/RemoteShuffleMasterTest.java +++ b/client-flink/flink-1.16/src/test/java/org/apache/celeborn/plugin/flink/RemoteShuffleMasterSuiteJ.java @@ -53,17 +53,21 @@ import org.slf4j.LoggerFactory; import org.apache.celeborn.common.CelebornConf; +import org.apache.celeborn.common.util.Utils$; import org.apache.celeborn.plugin.flink.utils.FlinkUtils; -public class RemoteShuffleMasterTest { +public class RemoteShuffleMasterSuiteJ { - private static final Logger LOG = LoggerFactory.getLogger(RemoteShuffleMasterTest.class); + private static final Logger LOG = LoggerFactory.getLogger(RemoteShuffleMasterSuiteJ.class); private RemoteShuffleMaster remoteShuffleMaster; private Configuration configuration; @Before public void setUp() { configuration = new Configuration(); + int startPort = Utils$.MODULE$.selectRandomPort(1024, 65535); + configuration.setInteger("celeborn.master.port", startPort); + configuration.setString("celeborn.master.endpoints", "localhost:" + startPort); remoteShuffleMaster = createShuffleMaster(configuration); }