Skip to content

Commit 9ed4eca

Browse files
Review fixes
1 parent 452c680 commit 9ed4eca

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/test/java/com/snowflake/kafka/connector/internal/streaming/ChannelStatusCheckIT.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void beforeAll() {
4242
Map<String, String> workerConfig = new HashMap<>();
4343
workerConfig.put("plugin.discovery", "hybrid_warn");
4444
// Set a short offset flush interval for faster preCommit calls
45-
workerConfig.put("offset.flush.interval.ms", "5000");
45+
workerConfig.put("offset.flush.interval.ms", "1000");
4646
connectCluster =
4747
new EmbeddedConnectCluster.Builder()
4848
.name("channel-status-check-cluster")
@@ -127,9 +127,6 @@ void shouldFailConnectorWhenChannelHasErrorsAndToleranceIsNone() throws JsonProc
127127
channel.setChannelStatus(statusWithErrors);
128128
}
129129

130-
// Produce more messages to trigger preCommit which checks channel status
131-
produceMessages(5);
132-
133130
// Then: connector task should fail due to channel errors
134131
await("Connector task failed")
135132
.atMost(Duration.ofMinutes(2))

0 commit comments

Comments
 (0)