mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
Bug 1461601 - lower the OOM bound for TArray::test_fallible on Windows; r=erahm
Apparently 7 is not low enough. Maybe 6 will be. Differential Revision: https://phabricator.services.mozilla.com/D29503 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
1dc4cd8f3c
commit
a3df20e771
@ -967,11 +967,11 @@ TEST(TArray, test_fallible)
|
||||
// We got our OOM. Check that it didn't come too early.
|
||||
oomed = true;
|
||||
# ifdef XP_WIN
|
||||
// 32-bit Windows sometimes OOMs on the 7th, sometimes on the 8th. To
|
||||
// keep the test green, choose the lower of those: the important thing
|
||||
// here is that some allocations fail and some succeed. We're not too
|
||||
// 32-bit Windows sometimes OOMs on the 6th, 7th, or 8th. To keep the
|
||||
// test green, choose the lower of those: the important thing here is
|
||||
// that some allocations fail and some succeed. We're not too
|
||||
// concerned about how many iterations it takes.
|
||||
const size_t kOOMIterations = 7;
|
||||
const size_t kOOMIterations = 6;
|
||||
# else
|
||||
const size_t kOOMIterations = 8;
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user