Can't use benchRun() with auth

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 2.4.0-rc1
    • Affects Version/s: 2.2.2, 2.2.3, 2.3.2
    • None
    • Environment:
      ubuntu 10.04, os X
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      benchRun() fails in various non-obvious ways due to not working with auth:

      Mon Jan 28 11:46:00 [initandlisten] connection accepted from 127.0.0.1:64087 #31 (2 connections now open)
      Mon Jan 28 11:46:00 [conn31] authenticate db: admin { authenticate: 1, nonce: "731e9f93c6ea1cb2", user: "admin", key: "9283a73baf26c9067989257c3bf9d51b" }
      Mon Jan 28 11:46:00 [conn31] auth: key mismatch admin, ns:admin
      Mon Jan 28 11:46:00 [conn31] end connection 127.0.0.1:64087 (1 connection now open)

      above error with auth occurs for 2.2.3-rc for both admin and regular user.

            Assignee:
            Asya Kamsky
            Reporter:
            Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: