public class MySqlDatabaseSchemaTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private io.debezium.connector.mysql.MySqlConnectorConfig |
connectorConfig |
private UniqueDatabase |
DATABASE |
private io.debezium.connector.mysql.MySqlDatabaseSchema |
mysql |
private static String |
SERVER_NAME |
private static Path |
TEST_FILE_PATH |
| Constructor and Description |
|---|
MySqlDatabaseSchemaTest() |
private static final Path TEST_FILE_PATH
private final UniqueDatabase DATABASE
private static final String SERVER_NAME
private io.debezium.connector.mysql.MySqlDatabaseSchema mysql
private io.debezium.connector.mysql.MySqlConnectorConfig connectorConfig
public void beforeEach()
private io.debezium.connector.mysql.MySqlDatabaseSchema getSchema(Configuration config)
public void afterEach()
public void shouldApplyDdlStatementsAndRecover()
throws InterruptedException
InterruptedExceptionpublic void shouldIgnoreUnparseableDdlAndRecover()
throws InterruptedException
InterruptedExceptionpublic void shouldFailOnUnparseableDdl()
throws InterruptedException
InterruptedExceptionpublic void shouldLoadSystemAndNonSystemTablesAndConsumeOnlyFilteredDatabases()
throws InterruptedException
InterruptedExceptionpublic void shouldLoadSystemAndNonSystemTablesAndConsumeAllDatabases()
throws InterruptedException
InterruptedExceptionpublic void shouldAllowDecimalPrecision()
@FixFor(value="DBZ-3622") public void shouldStoreNonCapturedDatabase()
@FixFor(value="DBZ-3622") public void shouldNotStoreNonCapturedDatabase()
@FixFor(value="DBZ-3622") public void shouldNotStoreNonCapturedTable()
protected void assertTableIncluded(String fullyQualifiedTableName)
protected void assertTableExcluded(String fullyQualifiedTableName)
protected void assertNoTablesExistForDatabase(String dbName)
protected void assertTablesExistForDatabase(String dbName)
protected void assertHistoryRecorded(Configuration config, io.debezium.pipeline.spi.OffsetContext offset)
Copyright © 2021 JBoss by Red Hat. All rights reserved.