forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ES|QL: Add multi-node Spec tests (elastic#98849)
- Loading branch information
1 parent
216ef17
commit d507295
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apply plugin: 'elasticsearch.legacy-yaml-rest-test' | ||
|
||
dependencies { | ||
javaRestTestImplementation project(xpackModule('esql:qa:testFixtures')) | ||
} | ||
|
||
restResources { | ||
restApi { | ||
include '_common', 'bulk', 'indices', 'esql', 'xpack', 'enrich' | ||
} | ||
} | ||
|
||
testClusters.configureEach { | ||
numberOfNodes = 2 | ||
testDistribution = 'DEFAULT' | ||
setting 'xpack.license.self_generated.type', 'trial' | ||
setting 'xpack.monitoring.collection.enabled', 'true' | ||
setting 'xpack.security.enabled', 'false' | ||
} |
17 changes: 17 additions & 0 deletions
17
...lti-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/multi_node/EsqlSpecIT.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
package org.elasticsearch.xpack.esql.qa.multi_node; | ||
|
||
import org.elasticsearch.xpack.esql.qa.rest.EsqlSpecTestCase; | ||
import org.elasticsearch.xpack.ql.CsvSpecReader.CsvTestCase; | ||
|
||
public class EsqlSpecIT extends EsqlSpecTestCase { | ||
public EsqlSpecIT(String fileName, String groupName, String testName, Integer lineNumber, CsvTestCase testCase) { | ||
super(fileName, groupName, testName, lineNumber, testCase); | ||
} | ||
} |