Skip to content

Commit

Permalink
Use non-breaking block factory in async operator tests
Browse files Browse the repository at this point in the history
We are not ready to use the regular block factory
in async operator tests in 8.12.
  • Loading branch information
dnhatn committed Jan 8, 2024
1 parent 23ec0ae commit 58bcceb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ protected void doClose() {

}
};
asyncOperator.addInput(new Page(blockFactory.newConstantIntBlockWith(randomInt(), between(1, 10))));
asyncOperator.addInput(new Page(BlockFactory.getNonBreakingInstance().newConstantIntBlockWith(randomInt(), between(1, 10))));
asyncOperator.finish();
try {
barrier.await(10, TimeUnit.SECONDS);
Expand Down

0 comments on commit 58bcceb

Please sign in to comment.