assert.repeat never throws an exception

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.3.0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Minor Change
    • ALL
    • Hide
      assert.repeat(function() {return false;});
      
      Show
      assert.repeat(function() {return false;});
    • TIG E (01/08/16)
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

      jstests/noPassthroughWithMongod/sharding_balance3.js

            Assignee:
            Jonathan Abrahams (Inactive)
            Reporter:
            Kamran K. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: