Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: yuxiqian <34335406+yuxiqian@users.noreply.github.com>
  • Loading branch information
yuxiqian committed Feb 7, 2025
1 parent 9d76b76 commit de9ebb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ public void testBinlogOffsetCompareWithSnapshotAndBinlogPhase() throws Exception
List<SourceRecord> sourceRecords =
pollRecordsFromReader(binlogReader, RecordUtils::isDataChangeRecord);
MYSQL_CONTAINER_NOGTID.stop();
assertTrue(sourceRecords.isEmpty());
Assertions.assertThat(sourceRecords).isEmpty();
}

private BinlogSplitReader createBinlogReader(MySqlSourceConfig sourceConfig) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@
import static org.apache.flink.cdc.connectors.mysql.source.config.MySqlSourceOptions.SCAN_INCREMENTAL_SNAPSHOT_ENABLED;
import static org.apache.flink.cdc.connectors.mysql.source.config.MySqlSourceOptions.SCAN_SNAPSHOT_FETCH_SIZE;
import static org.apache.flink.cdc.connectors.mysql.source.config.MySqlSourceOptions.USE_LEGACY_JSON_FORMAT;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

/** Test for {@link MySqlTableSource} created by {@link MySqlTableSourceFactory}. */
class MySqlTableSourceFactoryTest {
Expand Down

0 comments on commit de9ebb3

Please sign in to comment.