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

Ignore ismaster exceptions in initial_sync_unsupported_auth_schema.js test

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0.2, 3.1.1
    • Testing Infrastructure
    • None
    • Fully Compatible
    • 0

    Description

      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)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: