File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
java/org/opensearch/ml/plugin
resources/rest-api-spec/test Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 2424apply plugin : ' opensearch.opensearchplugin'
2525apply plugin : ' opensearch.testclusters'
2626apply plugin : ' opensearch.pluginzip'
27+ apply plugin : ' opensearch.yaml-rest-test'
2728ext {
2829 projectSubstitutions = [:]
2930 licenseFile = rootProject. file(' LICENSE.txt' )
Original file line number Diff line number Diff line change 66 */
77package org .opensearch .ml .plugin ;
88
9- import com .carrotsearch .randomizedtesting .annotations .Name ;
10- import com .carrotsearch .randomizedtesting .annotations .ParametersFactory ;
119import org .opensearch .test .rest .yaml .ClientYamlTestCandidate ;
1210import org .opensearch .test .rest .yaml .OpenSearchClientYamlSuiteTestCase ;
1311
12+ import com .carrotsearch .randomizedtesting .annotations .Name ;
13+ import com .carrotsearch .randomizedtesting .annotations .ParametersFactory ;
1414
1515public class PluginClientYamlTestSuiteIT extends OpenSearchClientYamlSuiteTestCase {
1616
17- public ConversationalClientYamlTestSuiteIT (@ Name ("yaml" ) ClientYamlTestCandidate testCandidate ) {
17+ public PluginClientYamlTestSuiteIT (@ Name ("yaml" ) ClientYamlTestCandidate testCandidate ) {
1818 super (testCandidate );
1919 }
2020
Original file line number Diff line number Diff line change 55 h : component
66
77 - match :
8- $body : /^plugin \n$/
8+ $body : /opensearch-ml \n$/
Original file line number Diff line number Diff line change @@ -6,7 +6,10 @@ teardown:
66 ignore : 404
77
88---
9- " Test ML Inference Processor " :
9+ " Test ML Inference Ingest Processor " :
10+ - skip :
11+ version : " - 2.13.99"
12+ reason : " Added in 2.14.0"
1013 - do :
1114 ingest.put_pipeline :
1215 id : " my_pipeline"
@@ -21,4 +24,4 @@ teardown:
2124 }
2225 ]
2326 }
24- - match : { acknowledged: true }
27+ - match : { acknowledged: true }
You can’t perform that action at this time.
0 commit comments