Skip to content

Commit

Permalink
Fix flakiness of testQueryFiltering due to error bound (#7317) (#7324)
Browse files Browse the repository at this point in the history
(cherry picked from commit 611e007)

Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 0bb44f0 commit 7279e43
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 7279e43

Please sign in to comment.