Skip to content

Commit 9063b8a

Browse files
unblocking the integ test pipeline for release (opensearch-project#3159) (opensearch-project#3351)
* unblocking the integ test pipeline for release Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * apply spotless Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> * removing the integ test intirely Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> --------- Signed-off-by: Dhrubo Saha <dhrubo@amazon.com> (cherry picked from commit 7147ef7) Co-authored-by: Dhrubo Saha <dhrubo@amazon.com>
1 parent a34cfe2 commit 9063b8a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java

-8
Original file line numberDiff line numberDiff line change
@@ -511,14 +511,6 @@ public void testOpenAITextEmbeddingModel_UTF8() throws IOException, InterruptedE
511511
}, null);
512512
}
513513

514-
public void testOpenAITextEmbeddingModel_ISO8859_1() throws IOException, InterruptedException {
515-
testOpenAITextEmbeddingModel("ISO-8859-1", null, (exception) -> {
516-
assertTrue(exception instanceof org.opensearch.client.ResponseException);
517-
String stackTrace = ExceptionUtils.getStackTrace(exception);
518-
assertTrue(stackTrace.contains("'utf-8' codec can't decode byte 0xeb"));
519-
});
520-
}
521-
522514
private void testOpenAITextEmbeddingModel(String charset, Consumer<Map> verifyResponse, Consumer<Exception> verifyException)
523515
throws IOException,
524516
InterruptedException {

0 commit comments

Comments
 (0)