This is an automated email from the ASF dual-hosted git repository. pnowojski pushed a commit to branch release-1.20 in repository https://gitbox.apache.org/repos/asf/flink.git
commit 3eac97f70a38249341d4a3870152c3c79c834ab6 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 46bac366c1e..479cf3d7b6b 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 @@ -459,9 +459,7 @@ 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); }
