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 2d66168
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package org.opensearch.security.auth.limiting;

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

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 2d66168

Please sign in to comment.