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

Some test runtime is overwhelming dominated by the mongo shell, rather than what is under test

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Correctness
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I haven't gotten into it enough to know if this is just expected or if this test is some pathological case, but the runtime of array_index_and_nonIndex_consistent.js is dominated by the asserts.

       

      99.0% of the tests hour long execution (fastbuild) is spent in this:

       

      assert(arrayEq(indexRes, nonIndexedRes), buildErrorString(query, indexRes, nonIndexedRes)); 

       

       

       

            Assignee:
            sean.lyons@mongodb.com Sean Lyons
            Reporter:
            sean.lyons@mongodb.com Sean Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None