Skip to content

Commit

Permalink
need to auth to shutdown #869
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwalsh committed Feb 9, 2014
1 parent 97c67bf commit 8a4cb44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jstests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ assert.soon(function() {
add_test(
NAME mongo/js-auth/stop-mongod
COMMAND $<TARGET_FILE:mongo>
admin
--port 27999
--eval "db.adminCommand({shutdown: 1, force: true})"
--eval "db.auth('admin', 'password'); db.runCommand({shutdown: 1, force: true})"
)
set_tests_properties(mongo/js-auth/stop-mongod PROPERTIES
WILL_FAIL TRUE
Expand Down

0 comments on commit 8a4cb44

Please sign in to comment.