-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Security, Testing Infrastructure
-
None
-
Fully Compatible
-
ALL
In dumpauth.js:
x = runMongoProgram( "mongodump", "--db", baseName, "--authenticationDatabase=admin", "-u", "testuser", "-p", "testuser", "-h", "127.0.0.1:"+m.port, "--collection", "testcol" );
This is incorrect because the test is actually writing its test data into the "admin" database, and the "baseName" database is never actually created.
The test collection itself is actually named baseName+".testcol".