public class MySqlTaskContextTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
config |
protected io.debezium.connector.mysql.MySqlTaskContext |
context |
protected String |
databaseName |
protected static Path |
DB_HISTORY_PATH |
protected String |
hostname |
protected String |
password |
protected int |
port |
protected int |
serverId |
protected String |
serverName |
protected String |
username |
| Constructor and Description |
|---|
MySqlTaskContextTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEach() |
void |
beforeEach() |
protected HistoryRecord |
historyRecord(String serverName,
String binlogFilename,
int position,
String gtids,
int event,
int row,
boolean snapshot) |
void |
shouldComparePositionsWithDifferentFields() |
void |
shouldCreateTaskFromConfigurationWithNeverSnapshotMode() |
void |
shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode() |
void |
shouldFilterAndMergeGtidSet() |
void |
shouldFilterInternalDmlStatementsUsingDefaultFilter() |
void |
shouldIgnoreDatabaseHistoryProperties() |
void |
shouldMergeToFirstAvailableGtidSetPositions() |
void |
shouldNotAllowBothGtidSetIncludesAndExcludes() |
void |
shouldUseGtidSetIncludes() |
void |
shouldUseGtidSetIncludesLiteralUuids() |
void |
shouldUseGtidSetxcludesLiteralUuids() |
protected Configuration.Builder |
simpleConfig() |
protected static final Path DB_HISTORY_PATH
protected String hostname
protected int port
protected String username
protected String password
protected int serverId
protected String serverName
protected String databaseName
protected Configuration config
protected io.debezium.connector.mysql.MySqlTaskContext context
public void beforeEach()
public void afterEach()
protected Configuration.Builder simpleConfig()
public void shouldCreateTaskFromConfigurationWithNeverSnapshotMode()
throws Exception
Exceptionpublic void shouldCreateTaskFromConfigurationWithWhenNeededSnapshotMode()
throws Exception
Exceptionpublic void shouldFilterInternalDmlStatementsUsingDefaultFilter()
throws Exception
Exceptionpublic void shouldUseGtidSetIncludesLiteralUuids()
throws Exception
Exceptionpublic void shouldUseGtidSetxcludesLiteralUuids()
throws Exception
Exceptionpublic void shouldNotAllowBothGtidSetIncludesAndExcludes()
throws Exception
Exceptionpublic void shouldFilterAndMergeGtidSet()
throws Exception
Exception@FixFor(value="DBZ-923") public void shouldMergeToFirstAvailableGtidSetPositions() throws Exception
Exceptionpublic void shouldComparePositionsWithDifferentFields()
public void shouldIgnoreDatabaseHistoryProperties()
throws Exception
Exceptionprotected HistoryRecord historyRecord(String serverName, String binlogFilename, int position, String gtids, int event, int row, boolean snapshot)
Copyright © 2020 JBoss by Red Hat. All rights reserved.