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 14732ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
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 @@ -447,8 +449,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
if (COHERE_KEY == null) {
Expand Down

0 comments on commit 14732ee

Please sign in to comment.