diff options
author | Tad Marshall <tad@10gen.com> | 2013-05-09 09:57:37 -0400 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2013-05-14 14:37:49 -0400 |
commit | e9048f5943d187bfcbb4138505f09a55c46a0bc4 (patch) | |
tree | 623e0e28eb75ab8edc4685d9f2c333304b70493c /jstests/dur | |
parent | 993fad41bdb155af9606c53accea9f56fa4ec129 (diff) | |
download | mongo-e9048f5943d187bfcbb4138505f09a55c46a0bc4.tar.gz |
SERVER-9621 Disable jstests/dur/closeall.js on 32-bit Windows
This test fails frequently on 32-bit Windows due to remapPrivateView
being unable to remap a file when another thread allocate memory
while a file is unmapped.
Disable the test in 32-bit Windows since this can't really be fixed
without changes to the storage layer (and 32-bit does not benefit
from stress testing).
Diffstat (limited to 'jstests/dur')
-rw-r--r-- | jstests/dur/closeall.js | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/jstests/dur/closeall.js b/jstests/dur/closeall.js index 2705b008a9b..ca1120d989f 100644 --- a/jstests/dur/closeall.js +++ b/jstests/dur/closeall.js @@ -89,12 +89,19 @@ function f(variant, quickCommits, paranoid) { stopMongod(30001); } -for (var variant=0; variant < 4; variant++){ - for (var quickCommits=0; quickCommits <= 1; quickCommits++){ // false then true - for (var paranoid=0; paranoid <= 1; paranoid++){ // false then true - f(variant, quickCommits, paranoid); - sleep(500); +// Skip this test on 32-bit Windows (unfixable failures in MapViewOfFileEx) +// +if (_isWIndows() && getBuildInfo().bits == 32 ) { + print("Skipping closeall.js on 32-bit Windows"); +} +else { + for (var variant=0; variant < 4; variant++){ + for (var quickCommits=0; quickCommits <= 1; quickCommits++){ // false then true + for (var paranoid=0; paranoid <= 1; paranoid++){ // false then true + f(variant, quickCommits, paranoid); + sleep(500); + } } } + print("SUCCESS closeall.js"); } -print("SUCCESS closeall.js"); |