Skip to content

Commit

Permalink
[E2E] Enable JdbcPostgresIdentifierIT (apache#7326)
Browse files Browse the repository at this point in the history
  • Loading branch information
hailin0 authored Aug 7, 2024
1 parent a12786b commit f6a1e51
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
import org.apache.seatunnel.e2e.common.TestResource;
import org.apache.seatunnel.e2e.common.TestSuiteBase;
import org.apache.seatunnel.e2e.common.container.ContainerExtendedFactory;
import org.apache.seatunnel.e2e.common.container.EngineType;
import org.apache.seatunnel.e2e.common.container.TestContainer;
import org.apache.seatunnel.e2e.common.junit.DisabledOnContainer;
import org.apache.seatunnel.e2e.common.junit.TestContainerExtension;

import org.junit.jupiter.api.AfterAll;
Expand Down Expand Up @@ -53,10 +51,6 @@
import static org.awaitility.Awaitility.given;

@Slf4j
@DisabledOnContainer(
value = {},
type = {EngineType.SPARK, EngineType.FLINK},
disabledReason = "Currently SPARK and FLINK do not support cdc")
public class JdbcPostgresIdentifierIT extends TestSuiteBase implements TestResource {
private static final String PG_IMAGE = "postgis/postgis";
private static final String PG_DRIVER_JAR =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
@DisabledOnContainer(
value = {},
type = {EngineType.SPARK, EngineType.FLINK},
disabledReason = "Currently SPARK and FLINK do not support cdc")
disabledReason =
"Currently testcase does not depend on a specific engine, but needs to be started with the engine")
public class JdbcMySqlCreateTableIT extends TestSuiteBase implements TestResource {
private static final String SQLSERVER_IMAGE = "mcr.microsoft.com/mssql/server:2022-latest";
private static final String SQLSERVER_CONTAINER_HOST = "sqlserver";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
@DisabledOnContainer(
value = {},
type = {EngineType.SPARK, EngineType.FLINK},
disabledReason = "Currently SPARK and FLINK do not support cdc")
disabledReason =
"Currently testcase does not depend on a specific engine, but needs to be started with the engine")
public class JdbcSqlServerCreateTableIT extends TestSuiteBase implements TestResource {

private static final String SQLSERVER_IMAGE = "mcr.microsoft.com/mssql/server:2022-latest";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@
import java.util.Map;
import java.util.stream.Collectors;

@DisabledOnContainer(
value = {},
type = {EngineType.SPARK},
disabledReason = "Currently SPARK do not support cdc, temporarily disable")
@Slf4j
public class JdbcIrisIT extends AbstractJdbcIT {
private static final String IRIS_IMAGE = "intersystems/iris-community:2023.1";
Expand Down Expand Up @@ -322,6 +318,10 @@ public void testCatalog() {
Assertions.assertFalse(catalog.tableExists(targetTablePath));
}

@DisabledOnContainer(
value = {},
type = {EngineType.SPARK},
disabledReason = "Currently SPARK do not support cdc")
@TestTemplate
public void testUpsert(TestContainer container) throws IOException, InterruptedException {
Container.ExecResult execResult = container.executeJob("/jdbc_iris_upsert.conf");
Expand Down

0 comments on commit f6a1e51

Please sign in to comment.