Skip to content

Commit 54e839b

Browse files
authored
ESQL: Fix LogicalPlanOptimizerTests testPlanSanityCheckWithBinaryPlans (elastic#118672)
1 parent 950db57 commit 54e839b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,6 @@ tests:
317317
- class: org.elasticsearch.reservedstate.service.FileSettingsServiceTests
318318
method: testInvalidJSON
319319
issue: https://github.com/elastic/elasticsearch/issues/116521
320-
- class: org.elasticsearch.xpack.esql.optimizer.LogicalPlanOptimizerTests
321-
method: testPlanSanityCheckWithBinaryPlans
322-
issue: https://github.com/elastic/elasticsearch/issues/118656
323320

324321
# Examples:
325322
#

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/optimizer/LogicalPlanOptimizerTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4911,8 +4911,7 @@ public void testPlanSanityCheckWithBinaryPlans() throws Exception {
49114911
""");
49124912

49134913
var project = as(plan, Project.class);
4914-
var limit = as(project.child(), Limit.class);
4915-
var join = as(limit.child(), Join.class);
4914+
var join = as(project.child(), Join.class);
49164915

49174916
var joinWithInvalidLeftPlan = join.replaceChildren(join.right(), join.right());
49184917
IllegalStateException e = expectThrows(IllegalStateException.class, () -> logicalOptimizer.optimize(joinWithInvalidLeftPlan));

0 commit comments

Comments
 (0)