Skip to content

Commit

Permalink
[hotfix] Fix compilation error due to constructor removal of MockSour…
Browse files Browse the repository at this point in the history
…ceReader (#89)
  • Loading branch information
Zakelly committed May 17, 2024
1 parent 6e6e1fc commit 6b38e11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public static void reset() {
@Override
public SourceReader<Integer, MockSourceSplit> createReader(
SourceReaderContext readerContext) {
return new MockSourceReader(true, true) {
return new MockSourceReader(MockSourceReader.WaitingForSplits.WAIT_UNTIL_ALL_SPLITS_ASSIGNED, true) {
@Override
public InputStatus pollNext(ReaderOutput<Integer> sourceOutput) {
if (canFinish.isDone() && !canFinish.isCompletedExceptionally()) {
Expand Down

0 comments on commit 6b38e11

Please sign in to comment.