File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
src/test/java/com/snowflake/kafka/connector/internal/streaming Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff 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 ))
You can’t perform that action at this time.
0 commit comments