Skip to content

Commit

Permalink
fix flaky IT (opensearch-project#2530)
Browse files Browse the repository at this point in the history
Signed-off-by: Yaliang Wu <[email protected]>
  • Loading branch information
ylwu-amzn authored Jun 11, 2024
1 parent 7cd5291 commit b57fc59
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package org.opensearch.ml.rest;

import static org.hamcrest.Matchers.containsString;
import static org.opensearch.ml.rest.RestMLRemoteInferenceIT.disableClusterConnectorAccessControl;

import java.io.IOException;

Expand All @@ -27,6 +28,7 @@ public class RestConnectorToolIT extends RestBaseAgentToolsIT {
@Before
public void setUp() throws Exception {
super.setUp();
disableClusterConnectorAccessControl();
Thread.sleep(20000);
this.bedrockClaudeConnectorId = createBedrockClaudeConnector("execute");
this.bedrockClaudeConnectorIdForPredict = createBedrockClaudeConnector("predict");
Expand Down

0 comments on commit b57fc59

Please sign in to comment.