diff options
author | Eric Milkie <milkie@10gen.com> | 2012-01-04 10:46:14 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-01-04 10:46:40 -0500 |
commit | 53eb5520501e7c700c7188c8ee0c26a835a084bf (patch) | |
tree | 77b68e9f0847e355aa915d1b4354cb73bec79f9d /jstests/replsets/auth1.js | |
parent | b002202f5c9e8f321c3a3547a576714233312906 (diff) | |
download | mongo-53eb5520501e7c700c7188c8ee0c26a835a084bf.tar.gz |
fix test on windows
Diffstat (limited to 'jstests/replsets/auth1.js')
-rw-r--r-- | jstests/replsets/auth1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/auth1.js b/jstests/replsets/auth1.js index 341f58170df..4c82fe4924b 100644 --- a/jstests/replsets/auth1.js +++ b/jstests/replsets/auth1.js @@ -25,7 +25,7 @@ m = runMongoProgram( "mongod", "--keyFile", path+"key1", "--port", port[0], "--d print("should fail with wrong permissions"); -assert.eq(m, 2, "mongod should exit w/ 2: permissions too open"); +assert.eq(m, _isWindows()? 100 : 2, "mongod should exit w/ 2: permissions too open"); stopMongod(port[0]); |