SQL: update SqlNodeSubclassTests list of min-two-parameters functions list (#53045) (#53058)

(cherry picked from commit c741e49d9f5e7b78c1a78e1af97eb19354fe6864)
This commit is contained in:
Andrei Stefan 2020-03-03 19:37:37 +02:00 committed by GitHub
parent d3a8ac66c6
commit 9ad9ad7a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -158,7 +158,6 @@ public class NodeSubclassTests<T extends B, B extends Node<B>> extends ESTestCas
/** /**
* Test {@link Node#replaceChildren} implementation on {@link #subclass}. * Test {@link Node#replaceChildren} implementation on {@link #subclass}.
*/ */
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/53011")
public void testReplaceChildren() throws Exception { public void testReplaceChildren() throws Exception {
Constructor<T> ctor = longestCtor(subclass); Constructor<T> ctor = longestCtor(subclass);
Object[] nodeCtorArgs = ctorArgs(ctor); Object[] nodeCtorArgs = ctorArgs(ctor);

View File

@ -56,8 +56,8 @@ import static org.elasticsearch.xpack.ql.type.DataTypes.INTEGER;
public class SqlNodeSubclassTests<T extends B, B extends Node<B>> extends NodeSubclassTests<T, B> { public class SqlNodeSubclassTests<T extends B, B extends Node<B>> extends NodeSubclassTests<T, B> {
private static final List<Class<?>> CLASSES_WITH_MIN_TWO_CHILDREN = asList(Percentile.class, Percentiles.class, PercentileRanks.class, private static final List<Class<?>> CLASSES_WITH_MIN_TWO_CHILDREN = asList(Percentile.class, Percentiles.class, PercentileRanks.class,
Iif.class, IfConditional.class, IfNull.class, In.class, InPipe.class); Iif.class, IfConditional.class, IfNull.class, In.class, InPipe.class,
org.elasticsearch.xpack.ql.expression.predicate.operator.comparison.In.class);
public SqlNodeSubclassTests(Class<T> subclass) { public SqlNodeSubclassTests(Class<T> subclass) {
super(subclass); super(subclass);