Skip to content

Commit

Permalink
Disabling flaky tests in HeapBasedRateTrackerTest
Browse files Browse the repository at this point in the history
Tracked with #2193

Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Oct 25, 2022
1 parent f876447 commit 4b31bca
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package org.opensearch.security.auth.limiting;

import org.junit.Ignore;
import org.junit.Test;

import org.opensearch.security.util.ratetracking.HeapBasedRateTracker;
Expand All @@ -39,6 +40,7 @@ public void simpleTest() throws Exception {
}

@Test
@Ignore // https://github.com/opensearch-project/security/issues/2193
public void expiryTest() throws Exception {
HeapBasedRateTracker<String> tracker = new HeapBasedRateTracker<>(100, 5, 100_000);

Expand Down Expand Up @@ -78,6 +80,7 @@ public void expiryTest() throws Exception {
}

@Test
@Ignore // https://github.com/opensearch-project/security/issues/2193
public void maxTwoTriesTest() throws Exception {
HeapBasedRateTracker<String> tracker = new HeapBasedRateTracker<>(100, 2, 100_000);

Expand Down

0 comments on commit 4b31bca

Please sign in to comment.