Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12490

jsTest.authenticate causing ReplSetTest.getMaster to time out

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.4
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • ALL
    • 0

      In auth enabled tests, every call to getDB() will trigger a call to jsTest.authenticate(), which has it's own built-in assert.soon until it succeeds. In some of the replica set shard setup, this appears to never succeeded, and thus making getDB() call take way more time that it should. This has a chain reaction of making the assert.soon inside ReplSetTest.getMaster timeout.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: