Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Hisoka-X committed May 31, 2023
1 parent 9a8a5ae commit cb8f3d0
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public abstract class AbstractJdbcIT extends TestSuiteBase implements TestResour
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && wget "
"cd /tmp/seatunnel/lib && wget "
+ driverUrl());
Assertions.assertEquals(0, extraCommands.getExitCode(), extraCommands.getStderr());
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class JdbcAutoGenerateSQLIT extends TestSuiteBase implements TestResource
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ PG_DRIVER_JAR);
Assertions.assertEquals(0, extraCommands.getExitCode());
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public class JdbcDorisIT extends TestSuiteBase implements TestResource {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ DRIVER_JAR);
Assertions.assertEquals(0, extraCommands.getExitCode());
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public class JdbcDorisdbIT extends TestSuiteBase implements TestResource {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ DRIVER_JAR);
Assertions.assertEquals(0, extraCommands.getExitCode());
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public class JdbcSelectDBCloudIT extends TestSuiteBase implements TestResource {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ DRIVER_JAR);
Assertions.assertEquals(0, extraCommands.getExitCode());
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class JdbcTeradataIT extends TestSuiteBase implements TestResource {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ TERADATA_DRIVER_JAR);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public class JdbcPostgresIT extends TestSuiteBase implements TestResource {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ PG_DRIVER_JAR
+ " && curl -O "
+ PG_JDBC_JAR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class JdbcSinkCDCChangelogIT extends TestSuiteBase implements TestResourc
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ PG_DRIVER_JAR);
Assertions.assertEquals(0, extraCommands.getExitCode());
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class JdbcSnowflakeIT extends TestSuiteBase implements TestResource {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ SNOWFLAKE_DRIVER_JAR);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public class CanalToKafkaIT extends TestSuiteBase implements TestResource {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ PG_DRIVER_JAR);
Assertions.assertEquals(0, extraCommands.getExitCode());
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private static MySqlContainer createMySqlContainer(MySqlVersion version) {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ PG_DRIVER_JAR);

Assertions.assertEquals(0, extraCommands.getExitCode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public class StarRocksIT extends TestSuiteBase implements TestResource {
container.execInContainer(
"bash",
"-c",
"mkdir -p /tmp/seatunnel/plugins/Jdbc/lib && cd /tmp/seatunnel/plugins/Jdbc/lib && curl -O "
"cd /tmp/seatunnel/lib && curl -O "
+ SR_DRIVER_JAR);
Assertions.assertEquals(0, extraCommands.getExitCode());
};
Expand Down

0 comments on commit cb8f3d0

Please sign in to comment.