Skip to content

Commit

Permalink
Update BinlogEventListenerTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
dinujoh authored Nov 12, 2024
1 parent 346f1ef commit 3f8fa94
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void test_given_DeleteRows_event_then_calls_correct_handler(EventType eventType)
}

private BinlogEventListener createObjectUnderTest() {
return new BinlogEventListener(buffer, sourceConfig, s3Prefix, pluginMetrics, binaryLogClient,
return BinlogEventListener.create(streamPartition, buffer, sourceConfig, s3Prefix, pluginMetrics, binaryLogClient,
streamCheckpointer, acknowledgementSetManager, dbTableMetadata, cascadingActionDetector);
}

Expand All @@ -176,4 +176,4 @@ private void verifyHandlerCallHelper() {
Runnable capturedRunnable = runnableArgumentCaptor.getValue();
capturedRunnable.run();
}
}
}

0 comments on commit 3f8fa94

Please sign in to comment.