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

Ignore ismaster exceptions in initial_sync_unsupported_auth_schema.js test

    • Fully Compatible
    • 0

      The regression test for SERVER-17671 (initial_sync_unsupported_auth_schema.js) is still causing intermittent failures, even after the fix from SERVER-17808.

      The issue is that calling ReplSetTest.reInitiate causes ismaster commands to be run on each secondary. If a secondary has already aborted due to the invalid auth schema, the reInitiate call will throw an exception:

      2015-03-31T01:36:32.212+0000 E QUERY    Error: error doing query: failed
          at DBQuery._exec (src/mongo/shell/query.js:94:40)
          at DBQuery.hasNext (src/mongo/shell/query.js:246:10)
          at DBCollection.findOne (src/mongo/shell/collection.js:188:19)
          at DB.runCommand (src/mongo/shell/db.js:58:41)
          at src/mongo/shell/replsettest.js:358:55
          at Function.assert.soon (src/mongo/shell/assert.js:183:17)
          at ReplSetTest.awaitSecondaryNodes (src/mongo/shell/replsettest.js:351:10)
          at ReplSetTest.initiate (src/mongo/shell/replsettest.js:460:10)
          at ReplSetTest.reInitiate (src/mongo/shell/replsettest.js:476:10)
      

            Assignee:
            kamran.khan Kamran K.
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: