summaryrefslogtreecommitdiff
path: root/jstests/tool
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2015-07-23 15:18:25 -0400
committerGabriel Russell <gabriel.russell@mongodb.com>2015-07-23 15:25:36 -0400
commit223b4e28b681104f8c3808ef156289d421974037 (patch)
tree3d865ebbd699eef4bf0154a9541cb97f2f58c931 /jstests/tool
parent9c5c717c7af9f1ebbc788d11ff54f8bd83cd0b67 (diff)
downloadmongo-223b4e28b681104f8c3808ef156289d421974037.tar.gz
TOOLS-833 disable unreliable dump to stdout test
o Its actually not ok to run any programs with runMongoProgram that write binary data to standard output
Diffstat (limited to 'jstests/tool')
-rw-r--r--jstests/tool/dumpauth.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/jstests/tool/dumpauth.js b/jstests/tool/dumpauth.js
index 5edfe1e9f52..17cf5c19de7 100644
--- a/jstests/tool/dumpauth.js
+++ b/jstests/tool/dumpauth.js
@@ -24,14 +24,3 @@ x = runMongoProgram( "mongodump",
"-h", "127.0.0.1:"+m.port,
"--collection", colName);
assert.eq(x, 0, "mongodump should succeed with authentication");
-
-// SERVER-5233: mongodump with authentication breaks when using "--out -"
-x = runMongoProgram( "mongodump",
- "--db", dbName,
- "--authenticationDatabase=admin",
- "-u", "testuser",
- "-p", "testuser",
- "-h", "127.0.0.1:"+m.port,
- "--collection", colName,
- "--out", "-" );
-assert.eq(x, 0, "mongodump should succeed with authentication while using '--out'");