Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Mingshi Liu <[email protected]>
(cherry picked from commit 066652b)

Co-authored-by: Mingshi Liu <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and mingshl authored Jul 23, 2024
1 parent 7afaf2a commit a0e9116
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ext {
apply plugin: 'opensearch.opensearchplugin'
apply plugin: 'opensearch.testclusters'
apply plugin: 'opensearch.pluginzip'
apply plugin: 'opensearch.yaml-rest-test'
ext {
projectSubstitutions = [:]
licenseFile = rootProject.file('LICENSE.txt')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
*/
package org.opensearch.ml.plugin;

import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
import org.opensearch.test.rest.yaml.ClientYamlTestCandidate;
import org.opensearch.test.rest.yaml.OpenSearchClientYamlSuiteTestCase;

import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;

public class PluginClientYamlTestSuiteIT extends OpenSearchClientYamlSuiteTestCase {

public ConversationalClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
public PluginClientYamlTestSuiteIT(@Name("yaml") ClientYamlTestCandidate testCandidate) {
super(testCandidate);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
h: component

- match:
$body: /^plugin\n$/
$body: /opensearch-ml\n$/
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ teardown:
ignore: 404

---
"Test ML Inference Processor":
"Test ML Inference Ingest Processor":
- skip:
version: " - 2.13.99"
reason: "Added in 2.14.0"
- do:
ingest.put_pipeline:
id: "my_pipeline"
Expand All @@ -21,4 +24,4 @@ teardown:
}
]
}
- match: { acknowledged: true }
- match: { acknowledged: true }

0 comments on commit a0e9116

Please sign in to comment.