File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
qa/ccs-common-rest/src/yamlRestTest/java/org/elasticsearch/test/rest/yaml Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,15 @@ class TestSuiteApiCheck {
2525 * Returns true if the test suite should run the tests for the given API.
2626 * @param testSuite a concrete subclass of ESClientYamlSuiteTestCase
2727 * @param apiName The API name as described in the rest spec e.g. `search`
28- * @return True if the test
28+ * @return True if the test should be run
2929 */
3030 public static boolean shouldExecuteTest (ESClientYamlSuiteTestCase testSuite , String apiName ) {
3131 return switch (testSuite ) {
3232 case CssSearchYamlTestSuiteIT cssSearch -> isSearchApi (apiName );
3333 case RcsCcsSearchYamlTestSuiteIT rssSearch -> isSearchApi (apiName );
34+ // Search tests are not executed in the common suite.
35+ case CcsCommonYamlTestSuiteIT cssCommon -> isSearchApi (apiName ) == false ;
36+ case RcsCcsCommonYamlTestSuiteIT rssCommon -> isSearchApi (apiName ) == false ;
3437 default -> true ;
3538 };
3639 }
You can’t perform that action at this time.
0 commit comments