Skip to content

Commit

Permalink
Fix spotbug failure
Browse files Browse the repository at this point in the history
Signed-off-by: Arjun kumar Giri <[email protected]>
  • Loading branch information
arjunkumargiri committed Nov 17, 2023
1 parent 5175dac commit 3f15e4c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.opensearch.ml.repackage.com.google.common.collect.ImmutableList;
import org.opensearch.ml.utils.TestHelper;

@Ignore
public class RestMLRemoteInferenceIT extends MLCommonsRestTestCase {

private final String OPENAI_KEY = System.getenv("OPENAI_KEY");
Expand Down Expand Up @@ -384,7 +385,6 @@ public void testOpenAIModerationsModel() throws IOException, InterruptedExceptio
assertTrue((Boolean) responseMap.get("violence"));
}

@Ignore
public void testOpenAITextEmbeddingModel() throws IOException, InterruptedException {
// Skip test if key is null
if (OPENAI_KEY == null) {
Expand Down Expand Up @@ -447,7 +447,6 @@ public void testOpenAITextEmbeddingModel() throws IOException, InterruptedExcept
assertFalse(((List) responseMap.get("embedding")).isEmpty());
}


@Ignore
public void testCohereGenerateTextModel() throws IOException, InterruptedException {
// Skip test if key is null
Expand Down

0 comments on commit 3f15e4c

Please sign in to comment.