Skip to content

Commit

Permalink
Fix flakiness of testQueryFiltering due to error bound (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#7317)

Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
  • Loading branch information
austintlee authored and shiv0408 committed Apr 25, 2024
1 parent 2180257 commit 1fe23dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public static IsCloseToRelative closeToRelative(double expected, double error) {
}

public static IsCloseToRelative closeToRelative(double expected) {
return closeToRelative(expected, 0.1);
return closeToRelative(expected, 0.25); // 0.25 = q(1-q) where q = quartile; for median, q = 0.5.
}
}

Expand Down

0 comments on commit 1fe23dd

Please sign in to comment.