diff options
author | Mathias Stearn <mathias@10gen.com> | 2013-10-10 11:48:04 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2013-10-10 14:52:44 -0400 |
commit | f86275a74e9470a2715fe0b654ac7ee1d7f772a4 (patch) | |
tree | 4a648e3c4915ab2703a954200a241d6b5f40be94 /jstests | |
parent | 3b33315ab3dedf8314eb3da126dd0fc56555deb9 (diff) | |
download | mongo-f86275a74e9470a2715fe0b654ac7ee1d7f772a4.tar.gz |
SERVER-10927 Fix replsets/temp_namespace.js failure
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/temp_namespace.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/replsets/temp_namespace.js b/jstests/replsets/temp_namespace.js index d2cbe59a95f..55c6941b137 100644 --- a/jstests/replsets/temp_namespace.js +++ b/jstests/replsets/temp_namespace.js @@ -42,13 +42,11 @@ assert.eq(secondDB.system.namespaces.count({name: /temp\d\.\$.*$/}) , 4); // ind assert.eq(secondDB.system.namespaces.count({name: /keep\d$/}) , 4); // step down primary and make sure former secondary (now primary) drops collections -var threw = false; try { master.adminCommand({replSetStepDown: 50, force : true}); } catch (e) { - threw = true; + // ignoring socket errors since they sometimes, but not always, fire after running that command. } -assert(threw); assert.soon(function() { printjson(secondDB.adminCommand("replSetGetStatus")); |