jsTest.authenticate causing ReplSetTest.getMaster to time out

XMLWordPrintableJSON

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

      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.

        1. addshard4.log
          118 kB
          Randolph Tan

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

              Created:
              Updated:
              Resolved: