Skip to content

Commit

Permalink
extend retry from 5 to 20 for tombstone
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-rcheng committed Oct 16, 2023
1 parent f87a003 commit 6f83ae7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ private void testIngestTombstoneRunner(
this.behavior == SnowflakeSinkConnectorConfig.BehaviorOnNullValues.DEFAULT
? sinkRecords.size()
: 1;
TestUtils.assertWithRetry(() -> TestUtils.tableSize(table) == expectedOffset, 10, 5);
TestUtils.assertWithRetry(() -> TestUtils.tableSize(table) == expectedOffset, 10, 20);
TestUtils.assertWithRetry(
() -> service.getOffset(new TopicPartition(topic, partition)) == expectedOffset, 10, 5);
() -> service.getOffset(new TopicPartition(topic, partition)) == expectedOffset, 10, 20);
}
}

0 comments on commit 6f83ae7

Please sign in to comment.