Skip to content

Commit

Permalink
ES|QL: Add multi-node Spec tests (elastic#98849)
Browse files Browse the repository at this point in the history
  • Loading branch information
luigidellaquila authored Sep 8, 2023
1 parent 216ef17 commit d507295
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
19 changes: 19 additions & 0 deletions x-pack/plugin/esql/qa/server/multi-node/build.gradle
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'
}
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);
}
}

0 comments on commit d507295

Please sign in to comment.