Skip to content

Commit

Permalink
Adding awaitsFix to approximateRangeTest flaky tests
Browse files Browse the repository at this point in the history
Signed-off-by: Bharathwaj G <[email protected]>
  • Loading branch information
bharath-techie committed Sep 3, 2024
1 parent b23c9de commit 2c682ba
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 2c682ba

Please sign in to comment.