diff options
author | Ben Becker <ben.becker@10gen.com> | 2013-02-22 13:45:13 -0800 |
---|---|---|
committer | Ben Becker <ben.becker@10gen.com> | 2013-02-22 13:45:22 -0800 |
commit | 81fde62a567e0fcd729adfd39efed06c59135c45 (patch) | |
tree | bf4ede96fddc8da17799029221da59248dad01d6 /jstests | |
parent | b4be8b421a39444f7ffb45f232db40dbd945823b (diff) | |
download | mongo-81fde62a567e0fcd729adfd39efed06c59135c45.tar.gz |
SERVER-8683: gc() between each load() in passthrough tests to free old cursors
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/dur/dur_passthrough.js | 2 | ||||
-rw-r--r-- | jstests/slowNightly/sharding_passthrough.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/jstests/dur/dur_passthrough.js b/jstests/dur/dur_passthrough.js index fb1c1df1e2b..994521203a5 100644 --- a/jstests/dur/dur_passthrough.js +++ b/jstests/dur/dur_passthrough.js @@ -33,7 +33,7 @@ function doTest() { print(" *******************************************"); print(" Test : " + x.name + " ..."); print(" " + Date.timeFunc(function () { load(x.name); }, 1) + "ms"); - + gc(); // TODO SERVER-8683: remove gc() calls once resolved } ); diff --git a/jstests/slowNightly/sharding_passthrough.js b/jstests/slowNightly/sharding_passthrough.js index a9d5b50b4b6..32cde81ed86 100644 --- a/jstests/slowNightly/sharding_passthrough.js +++ b/jstests/slowNightly/sharding_passthrough.js @@ -139,6 +139,7 @@ files.forEach(function(x) { Date.timeFunc(function() { load(x.name); }, 1) + "ms"); + gc(); // TODO SERVER-8683: remove gc() calls once resolved } ); |