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:
Evgeniy Stepanov 2016-12-21 22:50:08 +00:00
parent bfe5045b9c
commit 76a60a8ccd
1 changed files with 2 additions and 1 deletions

View File

@ -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));
}
}