DBZ-3229 Increase wait time; do not rely on record delivery in case of failure

This commit is contained in:
Jiri Pechanec 2021-08-24 13:12:31 +02:00 committed by Gunnar Morling
parent 12c20fad53
commit 2c49b0277e
2 changed files with 1 additions and 3 deletions

View File

@ -49,4 +49,4 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Check changes in Debezium Connector SQL Server
run: mvn clean install -B -pl debezium-connector-sqlserver -am -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
run: mvn clean install -B -pl debezium-connector-sqlserver -am -Passembly -Dformat.formatter.goal=validate -Dformat.imports.goal=check -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Ddebezium.test.records.waittime=10

View File

@ -147,8 +147,6 @@ public void fail() throws Exception {
"INSERT INTO tableb VALUES(" + id + ", 'b')");
}
SourceRecords records = consumeRecordsByTopic(1);
Assertions.assertThat(records.recordsForTopic("server1.dbo.tablea")).hasSize(1);
Awaitility.await()
.alias("Found warning message in logs")
.atMost(TestHelper.waitTimeForRecords(), TimeUnit.SECONDS).until(() -> {