Skip to content

Commit

Permalink
add skip when aws key is null (#2926)
Browse files Browse the repository at this point in the history
Signed-off-by: Mingshi Liu <[email protected]>
  • Loading branch information
mingshl authored Sep 10, 2024
1 parent a4a7c6b commit 93d0429
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 93d0429

Please sign in to comment.