Skip to content

Commit

Permalink
Ignore flaky test (opensearch-project#730)
Browse files Browse the repository at this point in the history
* flaky test

Signed-off-by: Joanne Wang <[email protected]>

* ignore flaky test

Signed-off-by: Joanne Wang <[email protected]>

---------

Signed-off-by: Joanne Wang <[email protected]>
Signed-off-by: Chase Engelbrecht <[email protected]>
  • Loading branch information
jowg-amazon authored and engechas committed Apr 10, 2024
1 parent 97fb219 commit a8ccfab
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.util.stream.Collectors;
import org.apache.http.HttpStatus;
import org.junit.Assert;
import org.junit.Ignore;
import org.opensearch.action.search.SearchResponse;
import org.opensearch.client.Request;
import org.opensearch.client.Response;
Expand Down Expand Up @@ -856,6 +857,7 @@ public void testGetFindings_byStartTimeAndEndTime_success() throws IOException {
Assert.assertEquals(1, getFindingsBody.get("total_findings"));
}

@Ignore
public void testGetFindings_rolloverByMaxAge_success() throws IOException, InterruptedException {

updateClusterSetting(FINDING_HISTORY_ROLLOVER_PERIOD.getKey(), "1s");
Expand Down

0 comments on commit a8ccfab

Please sign in to comment.