Skip to content

Commit

Permalink
[hotfix] Fix unstable test MySqlSyncTableActionITCase#testSyncShards (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzelin authored Mar 26, 2024
1 parent 9839efa commit c6cb0c2
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ protected Schema retrieveSchema() throws Exception {
@Override
protected MySqlSource<String> buildSource() {
String tableList =
cdcSourceConfig.get(MySqlSourceOptions.DATABASE_NAME)
+ "\\."
+ cdcSourceConfig.get(MySqlSourceOptions.TABLE_NAME);
String.format(
"(%s)\\.(%s)",
cdcSourceConfig.get(MySqlSourceOptions.DATABASE_NAME),
cdcSourceConfig.get(MySqlSourceOptions.TABLE_NAME));
return MySqlActionUtils.buildMySqlSource(cdcSourceConfig, tableList, typeMapping);
}

Expand Down

0 comments on commit c6cb0c2

Please sign in to comment.