[test][hwasan] Relax test condition

The test is flaky after Kernel upgrade from 6.0 to 6.5.
This commit is contained in:
Vitaly Buka 2023-09-11 14:40:40 -07:00
parent aaf87dd2ae
commit f665700647

View File

@ -54,7 +54,7 @@ void test_rss_difference(void *p) {
size_t diff = rss_before - rss_after;
fprintf(stderr, "diff %zu\n", diff);
// Check that the difference is at least close to kNumShadowPages.
assert(diff > kNumShadowPages / 4 * 3);
assert(diff > kNumShadowPages / 2);
}
int main() {