Test "replsets/resync.js" should ensure first node is always primary

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Sometimes this test fails due to the fact that first (0th) node isn't primary.

      assert failed : conns[0] assumed to be master
      Error: assert failed : conns[0] assumed to be master
          at Error (<anonymous>)
          at doassert (src/mongo/shell/assert.js:11:14)
          at assert (src/mongo/shell/assert.js:20:5)
          at /data/mci/shell/src/jstests/replsets/resync.js:27:5
          at /data/mci/shell/src/jstests/replsets/resync.js:87:3
      ...
      failed to load: /data/mci/shell/src/jstests/replsets/resync.js
      

              Assignee:
              Scott Hernandez (Inactive)
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: