diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisTestBase.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisTestBase.java index dca9a1c66..b731a2c56 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisTestBase.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisTestBase.java @@ -99,7 +99,8 @@ public static GenericContainer createDorisContainer() { .withPrivilegedMode(true) .withLogConsumer( new Slf4jLogConsumer( - DockerLoggerFactory.getLogger(DORIS_DOCKER_IMAGE))); + DockerLoggerFactory.getLogger(DORIS_DOCKER_IMAGE))) + .withReuse(true); container.setPortBindings( Lists.newArrayList( diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/DorisSinkITCase.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/DorisSinkITCase.java index 646b5b20b..c9501d339 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/DorisSinkITCase.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/sink/DorisSinkITCase.java @@ -47,7 +47,7 @@ /** DorisSink ITCase with csv and arrow format. */ public class DorisSinkITCase extends DorisTestBase { - static final String DATABASE = "test"; + static final String DATABASE = "test_sink"; static final String TABLE_CSV = "tbl_csv"; static final String TABLE_JSON = "tbl_json"; static final String TABLE_JSON_TBL = "tbl_json_tbl"; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/source/DorisSourceITCase.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/source/DorisSourceITCase.java index 3c4735502..f88b756fd 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/source/DorisSourceITCase.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/source/DorisSourceITCase.java @@ -41,7 +41,7 @@ /** DorisSource ITCase. */ public class DorisSourceITCase extends DorisTestBase { - static final String DATABASE = "test"; + static final String DATABASE = "test_source"; static final String TABLE_READ = "tbl_read"; static final String TABLE_READ_TBL = "tbl_read_tbl"; diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/tools/cdc/MySQLDorisE2ECase.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/tools/cdc/MySQLDorisE2ECase.java index f93088f1f..cbc7734f2 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/tools/cdc/MySQLDorisE2ECase.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/tools/cdc/MySQLDorisE2ECase.java @@ -63,7 +63,7 @@ */ public class MySQLDorisE2ECase extends DorisTestBase { protected static final Logger LOG = LoggerFactory.getLogger(MySQLDorisE2ECase.class); - private static final String DATABASE = "test"; + private static final String DATABASE = "test_mysql"; private static final String MYSQL_USER = "root"; private static final String MYSQL_PASSWD = "123456"; private static final String TABLE_1 = "tbl1";