diff --git a/src/test/java/org/opensearch/securityanalytics/alerts/AlertsIT.java b/src/test/java/org/opensearch/securityanalytics/alerts/AlertsIT.java index d9adee972..d3665dcfc 100644 --- a/src/test/java/org/opensearch/securityanalytics/alerts/AlertsIT.java +++ b/src/test/java/org/opensearch/securityanalytics/alerts/AlertsIT.java @@ -18,6 +18,7 @@ import org.apache.hc.core5.http.io.entity.StringEntity; import org.apache.hc.core5.http.message.BasicHeader; import org.junit.Assert; +import org.junit.Ignore; import org.opensearch.client.Request; import org.opensearch.client.Response; import org.opensearch.client.ResponseException; @@ -588,6 +589,7 @@ public void testGetAlerts_byDetectorType_multipleDetectors_success() throws IOEx } + @Ignore public void testAlertHistoryRollover_maxAge() throws IOException, InterruptedException { updateClusterSetting(ALERT_HISTORY_ROLLOVER_PERIOD.getKey(), "1s"); updateClusterSetting(ALERT_HISTORY_MAX_DOCS.getKey(), "1000"); @@ -658,6 +660,7 @@ public void testAlertHistoryRollover_maxAge() throws IOException, InterruptedExc restoreAlertsFindingsIMSettings(); } + @Ignore public void testAlertHistoryRollover_maxAge_low_retention() throws IOException, InterruptedException { updateClusterSetting(ALERT_HISTORY_ROLLOVER_PERIOD.getKey(), "1s"); updateClusterSetting(ALERT_HISTORY_MAX_DOCS.getKey(), "1000"); @@ -738,6 +741,7 @@ public void testAlertHistoryRollover_maxAge_low_retention() throws IOException, restoreAlertsFindingsIMSettings(); } + @Ignore public void testAlertHistoryRollover_maxDocs() throws IOException, InterruptedException { updateClusterSetting(ALERT_HISTORY_ROLLOVER_PERIOD.getKey(), "1s"); updateClusterSetting(ALERT_HISTORY_MAX_DOCS.getKey(), "1"); @@ -821,6 +825,7 @@ public void testAlertHistoryRollover_maxDocs() throws IOException, InterruptedEx restoreAlertsFindingsIMSettings(); } + @Ignore public void testGetAlertsFromAllIndices() throws IOException, InterruptedException { updateClusterSetting(ALERT_HISTORY_ROLLOVER_PERIOD.getKey(), "1s"); updateClusterSetting(ALERT_HISTORY_MAX_DOCS.getKey(), "1");