This is an automated email from the ASF dual-hosted git repository. pnowojski pushed a commit to branch release-1.19 in repository https://gitbox.apache.org/repos/asf/flink.git
commit 75828335870718cc6865349939c2df7d5a58f09d Author: Piotr Nowojski <[email protected]> AuthorDate: Fri Aug 16 14:46:32 2024 +0200 [hotfix][test] Do not add three splits with the same splitId in testMetrics --- .../flink/streaming/runtime/tasks/MultipleInputStreamTaskTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/MultipleInputStreamTaskTest.java b/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/MultipleInputStreamTaskTest.java index fe3a6ad4c1d..7897797b4b8 100644 --- a/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/MultipleInputStreamTaskTest.java +++ b/flink-streaming-java/src/test/java/org/apache/flink/streaming/runtime/tasks/MultipleInputStreamTaskTest.java @@ -465,9 +465,7 @@ public class MultipleInputStreamTaskTest { int numRecords3 = 2; // add source splits before processing any elements, so the MockSourceReader does not // end prematurely - for (int x = 0; x < numRecords2; x++) { - addSourceRecords(testHarness, 1, 42); - } + addSourceRecords(testHarness, 1, 42, 43, 44); for (int x = 0; x < numRecords1; x++) { testHarness.processElement(new StreamRecord<>("hello"), 0, 0); }
