Skip to content

Commit 0b5fe2a

Browse files
unblocking the integ test pipeline for release (opensearch-project#3159) (opensearch-project#3335)
* 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 65254c3 commit 0b5fe2a

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
@@ -574,14 +574,6 @@ public void testOpenAITextEmbeddingModel_UTF8() throws IOException, InterruptedE
574574
}, null);
575575
}
576576

577-
public void testOpenAITextEmbeddingModel_ISO8859_1() throws IOException, InterruptedException {
578-
testOpenAITextEmbeddingModel("ISO-8859-1", null, (exception) -> {
579-
assertTrue(exception instanceof org.opensearch.client.ResponseException);
580-
String stackTrace = ExceptionUtils.getStackTrace(exception);
581-
assertTrue(stackTrace.contains("'utf-8' codec can't decode byte 0xeb"));
582-
});
583-
}
584-
585577
private void testOpenAITextEmbeddingModel(String charset, Consumer<Map> verifyResponse, Consumer<Exception> verifyException)
586578
throws IOException,
587579
InterruptedException {

0 commit comments

Comments
 (0)