Skip to content

Commit

Permalink
Adding awaitsFix to approximateRangeTest flaky tests (opensearch-proj…
Browse files Browse the repository at this point in the history
…ect#15601)

Signed-off-by: Bharathwaj G <[email protected]>
  • Loading branch information
bharath-techie authored Sep 3, 2024
1 parent 022acba commit a5590d1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ protected String toString(int dimension, byte[] value) {
}
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/15600")
public void testApproximateRangeWithSizeUnderDefault() throws IOException {
try (Directory directory = newDirectory()) {
try (RandomIndexWriter iw = new RandomIndexWriter(random(), directory, new WhitespaceAnalyzer())) {
Expand Down Expand Up @@ -150,6 +151,7 @@ protected String toString(int dimension, byte[] value) {
}
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/15600")
public void testApproximateRangeWithSizeOverDefault() throws IOException {
try (Directory directory = newDirectory()) {
try (RandomIndexWriter iw = new RandomIndexWriter(random(), directory, new WhitespaceAnalyzer())) {
Expand Down Expand Up @@ -193,6 +195,7 @@ protected String toString(int dimension, byte[] value) {
}
}

@AwaitsFix(bugUrl = "https://github.com/opensearch-project/OpenSearch/issues/15600")
public void testApproximateRangeShortCircuit() throws IOException {
try (Directory directory = newDirectory()) {
try (RandomIndexWriter iw = new RandomIndexWriter(random(), directory, new WhitespaceAnalyzer())) {
Expand Down

0 comments on commit a5590d1

Please sign in to comment.