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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.5.2
    • Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2017-01-02

    Description

      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
          }
      ]
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: