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

Resmoke's globstar.py does not properly parse * before **

    • Fully Compatible
    • ALL
    • v6.1, v6.0, v5.0, v4.4, v4.2
    • Hide

      1. Add the path src/mongo/db/modules/*/jstests/fle2/**/*.js to a resmoke suite.
      2. Run resmoke.py run --suite=<suite name> --dryRun=tests | grep enterprise/jstests/fle2
      3. Results will be empty, but instead should contain the files in the enterprise/jstests/fle2 directory.

      Show
      1. Add the path src/mongo/db/modules/*/jstests/fle2/**/*.js to a resmoke suite. 2. Run resmoke.py run --suite=<suite name> --dryRun=tests | grep enterprise/jstests/fle2 3. Results will be empty, but instead should contain the files in the enterprise/jstests/fle2 directory.
    • Sharding 2022-10-03
    • 70
    • 2

      From max.hirschhorn@mongodb.com on Slack:

      paths of the form a/*/b/**/c end up attempting to list a literal a/*/b directory instead of trying to glob expand it

      honestly python3 has supported globstar since python 3.5 so we should just delete globstar.py

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: