Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport feature/multi_tenancy] unblocking the integ test pipeline for release #3165

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -511,14 +511,6 @@ public void testOpenAITextEmbeddingModel_UTF8() throws IOException, InterruptedE
}, null);
}

public void testOpenAITextEmbeddingModel_ISO8859_1() throws IOException, InterruptedException {
testOpenAITextEmbeddingModel("ISO-8859-1", null, (exception) -> {
assertTrue(exception instanceof org.opensearch.client.ResponseException);
String stackTrace = ExceptionUtils.getStackTrace(exception);
assertTrue(stackTrace.contains("'utf-8' codec can't decode byte 0xeb"));
});
}

private void testOpenAITextEmbeddingModel(String charset, Consumer<Map> verifyResponse, Consumer<Exception> verifyException)
throws IOException,
InterruptedException {
Expand Down
Loading