Skip to content

Commit

Permalink
[polardbx][test] Rename PolardbxSourceTCase to PolardbxSourceITCase (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanhang1993 authored Aug 8, 2022
1 parent a5dd0c0 commit 9e6549c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
* we added fallback in {@link MySqlSchema} when parsing ddl failed and provided these cases to
* test.
*/
public class PolardbxSourceTCase extends AbstractTestBase {
private static final Logger LOG = LoggerFactory.getLogger(PolardbxSourceTCase.class);
public class PolardbxSourceITCase extends AbstractTestBase {
private static final Logger LOG = LoggerFactory.getLogger(PolardbxSourceITCase.class);
private static final Pattern COMMENT_PATTERN = Pattern.compile("^(.*)--.*$");
private static final Integer PORT = 8527;
private static final String HOST_NAME = "127.0.0.1";
Expand Down Expand Up @@ -131,7 +131,7 @@ private static Boolean checkConnection() {
protected static void initializePolardbxTables(String databaseName)
throws InterruptedException {
final String ddlFile = String.format("ddl/%s.sql", databaseName);
final URL ddlTestFile = PolardbxSourceTCase.class.getClassLoader().getResource(ddlFile);
final URL ddlTestFile = PolardbxSourceITCase.class.getClassLoader().getResource(ddlFile);
assertNotNull("Cannot locate " + ddlFile, ddlTestFile);
// need to sleep 1s, make sure the jdbc connection can be created
Thread.sleep(1000);
Expand Down

0 comments on commit 9e6549c

Please sign in to comment.