Skip to content

Commit 7daf457

Browse files
fix flaky IT (#2530) (#2533)
Signed-off-by: Yaliang Wu <[email protected]> (cherry picked from commit b57fc59) Co-authored-by: Yaliang Wu <[email protected]>
1 parent d6ec823 commit 7daf457

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugin/src/test/java/org/opensearch/ml/rest/RestConnectorToolIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
package org.opensearch.ml.rest;
77

88
import static org.hamcrest.Matchers.containsString;
9+
import static org.opensearch.ml.rest.RestMLRemoteInferenceIT.disableClusterConnectorAccessControl;
910

1011
import java.io.IOException;
1112

@@ -26,6 +27,7 @@ public class RestConnectorToolIT extends RestBaseAgentToolsIT {
2627
@Before
2728
public void setUp() throws Exception {
2829
super.setUp();
30+
disableClusterConnectorAccessControl();
2931
Thread.sleep(20000);
3032
this.bedrockClaudeConnectorId = createBedrockClaudeConnector("execute");
3133
this.bedrockClaudeConnectorIdForPredict = createBedrockClaudeConnector("predict");

0 commit comments

Comments
 (0)