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

assert.repeat never throws an exception

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.3.0
    • None
    • Testing Infrastructure
    • None
    • Minor Change
    • ALL
    • Hide

      assert.repeat(function() {return false;});

      Show
      assert.repeat(function() {return false;});
    • TIG E (01/08/16)

    Description

      assert.repeat doesn't call doassert(), so it can never fail. The method is only used in one test:

      jstests/noPassthroughWithMongod/sharding_balance3.js

      Attachments

        Activity

          People

            jonathan.abrahams Jonathan Abrahams
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: