Skip to content

Commit f665700

Browse files
committed
[test][hwasan] Relax test condition
The test is flaky after Kernel upgrade from 6.0 to 6.5.
1 parent aaf87dd commit f665700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/hwasan/TestCases/Linux/release-shadow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void test_rss_difference(void *p) {
5454
size_t diff = rss_before - rss_after;
5555
fprintf(stderr, "diff %zu\n", diff);
5656
// Check that the difference is at least close to kNumShadowPages.
57-
assert(diff > kNumShadowPages / 4 * 3);
57+
assert(diff > kNumShadowPages / 2);
5858
}
5959

6060
int main() {

0 commit comments

Comments
 (0)