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

Parallel test suites should pick up tests in subdirectories of jstests/core

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.2
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • TIG 2017-01-02

      As a part of SERVER-26765, jscore passthrough suites were updated to handle tests in subdirectories of jstests/core. However, parallelTester.js does not pick up these tests because it does not recurse into subdirectories.

      listFiles("jstests/core").filter(info => info.name.indexOf("views") >= 0);
      [
          {
              "name" : "jstests/core/list_collections_no_views.js",
              "baseName" : "list_collections_no_views.js",
              "isDirectory" : false,
              "size" : 4278
          },
          {
              "name" : "jstests/core/views",
              "baseName" : "views",
              "isDirectory" : true
          }
      ]
      

            Assignee:
            jonathan.abrahams Jonathan Abrahams
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: