Auth passthrough system should add admin user to non replica set shards when setting up a sharding test

XMLWordPrintableJSON

    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently when a ShardingTest is setup under auth passthrough, if the shard is a replica set an admin user for use by the auth passthrough system gets added to the shard primary. If the shard is a standalone or master/slave, however, the admin user doesn't get added. This means that if the test tries to make a direct connection to the shard and do anything, it will get "unauthorized" errors as the auth system was unable to authenticate the connection since no admin user exists.

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: