Skip to content

Commit

Permalink
[hotfix] Fix unstable test MySqlSyncTableActionITCase#testSyncShards (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzelin authored and zhuangchong committed Mar 26, 2024
1 parent 2db9558 commit 860b021
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 860b021

Please sign in to comment.