DBZ-2913 Fix failure due to log verbosity change
This commit is contained in:
parent
1ed77cd2ed
commit
54f8f4636b
@ -21,6 +21,8 @@
|
|||||||
import io.debezium.junit.logging.LogInterceptor;
|
import io.debezium.junit.logging.LogInterceptor;
|
||||||
import io.debezium.util.Collect;
|
import io.debezium.util.Collect;
|
||||||
|
|
||||||
|
import ch.qos.logback.classic.Level;
|
||||||
|
|
||||||
@SkipWhenDatabaseVersion(check = LESS_THAN, major = 5, minor = 6, reason = "DDL uses fractional second data types, not supported until MySQL 5.6")
|
@SkipWhenDatabaseVersion(check = LESS_THAN, major = 5, minor = 6, reason = "DDL uses fractional second data types, not supported until MySQL 5.6")
|
||||||
public class SnapshotParallelSourceIT extends SnapshotSourceIT {
|
public class SnapshotParallelSourceIT extends SnapshotSourceIT {
|
||||||
|
|
||||||
@ -74,6 +76,7 @@ public void shouldParallelCreateSnapshotSchema() throws Exception {
|
|||||||
.with(MySqlConnectorConfig.DATABASE_INCLUDE_LIST, String.join(",", includeDatabases))
|
.with(MySqlConnectorConfig.DATABASE_INCLUDE_LIST, String.join(",", includeDatabases))
|
||||||
.build();
|
.build();
|
||||||
LogInterceptor logInterceptor = new LogInterceptor(MySqlSnapshotChangeEventSource.class);
|
LogInterceptor logInterceptor = new LogInterceptor(MySqlSnapshotChangeEventSource.class);
|
||||||
|
logInterceptor.setLoggerLevel(MySqlSnapshotChangeEventSource.class, Level.INFO);
|
||||||
|
|
||||||
// Start the connector ...
|
// Start the connector ...
|
||||||
start(MySqlConnector.class, config);
|
start(MySqlConnector.class, config);
|
||||||
|
Loading…
Reference in New Issue
Block a user