Skip to content

Commit

Permalink
[hotfix][test] Do not add three splits with the same splitId in testM…
Browse files Browse the repository at this point in the history
…etrics
  • Loading branch information
pnowojski committed Aug 17, 2024
1 parent 308f05a commit 287eff2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,7 @@ public InternalOperatorMetricGroup getOrAddOperator(
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);
}
Expand Down

0 comments on commit 287eff2

Please sign in to comment.