diff --git a/src/test/java/org/opensearch/securityanalytics/resthandler/SourceConfigWithoutS3RestApiIT.java b/src/test/java/org/opensearch/securityanalytics/resthandler/SourceConfigWithoutS3RestApiIT.java index e79b9e989..c7bf6465b 100644 --- a/src/test/java/org/opensearch/securityanalytics/resthandler/SourceConfigWithoutS3RestApiIT.java +++ b/src/test/java/org/opensearch/securityanalytics/resthandler/SourceConfigWithoutS3RestApiIT.java @@ -602,7 +602,7 @@ public void testActivateDeactivateUrlDownloadSourceConfig() throws IOException, List findingIndices = getIocIndices(); Assert.assertEquals(1, findingIndices.size()); - Thread.sleep(100); // TODO: pass in action listener when releasing lock + Thread.sleep(10000); // TODO: pass in action listener when releasing lock // try to update default source config again to ensure operation is not accepted when enabled_for_scan is unchanged try {