forked from OSchip/llvm-project
Increase the treshold in unit test to accomodate for qurantine size increase.
Reviewers: eugenis Patch by Alex Shlyapnikov. Subscribers: llvm-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D28029 llvm-svn: 290279
This commit is contained in:
parent
bfe5045b9c
commit
76a60a8ccd
|
@ -177,7 +177,8 @@ TEST(AddressSanitizer, ThreadedQuarantineTest) {
|
|||
PTHREAD_CREATE(&t, NULL, ThreadedQuarantineTestWorker, 0);
|
||||
PTHREAD_JOIN(t, 0);
|
||||
size_t mmaped2 = __sanitizer_get_heap_size();
|
||||
EXPECT_LT(mmaped2 - mmaped1, 320U * (1 << 20));
|
||||
// Figure out why this much memory is required.
|
||||
EXPECT_LT(mmaped2 - mmaped1, 352U * (1 << 20));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue