Skip to content

Commit 58bcceb

Browse files
committed
Use non-breaking block factory in async operator tests
We are not ready to use the regular block factory in async operator tests in 8.12.
1 parent 23ec0ae commit 58bcceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/operator/AsyncOperatorTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ protected void doClose() {
300300

301301
}
302302
};
303-
asyncOperator.addInput(new Page(blockFactory.newConstantIntBlockWith(randomInt(), between(1, 10))));
303+
asyncOperator.addInput(new Page(BlockFactory.getNonBreakingInstance().newConstantIntBlockWith(randomInt(), between(1, 10))));
304304
asyncOperator.finish();
305305
try {
306306
barrier.await(10, TimeUnit.SECONDS);

0 commit comments

Comments
 (0)