Skip to content

Commit

Permalink
add skip when aws key is null (#2926) (#2928)
Browse files Browse the repository at this point in the history
Signed-off-by: Mingshi Liu <[email protected]>
(cherry picked from commit 93d0429)

Co-authored-by: Mingshi Liu <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and mingshl committed Sep 10, 2024
1 parent fa008e2 commit 24fc9c3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ public void testMLInferenceProcessorRemoteModelCustomPrompt() throws Exception {
* @throws Exception if any error occurs during the test
*/
public void testMLInferenceProcessorRemoteModelStringField() throws Exception {
// Skip test if key is null
if (AWS_ACCESS_KEY_ID == null) {
return;
}
String createPipelineRequestBody = "{\n"
+ " \"response_processors\": [\n"
+ " {\n"
Expand Down

0 comments on commit 24fc9c3

Please sign in to comment.