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

Deleting a test results in "ValueError: Unrecognized jstest"

    XMLWordPrintable

Details

    • Fully Compatible
    • DAG 2018-11-05
    • 1

    Description

      When a file is included or excluded explicitly by name (i.e. not by glob pattern or tag), then an error is raised if the test isn't found. This is done to ensure that the blacklist for a suite is updated when a test is renamed or deleted. We should consider improving the "ValueError: Unrecognized jstest" error message to be clearer about potentially needing to update an entry in the blacklist.

      Original description

      In master, deleting the test loglong.js causes a failure:
      https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_62_64_bit_sharded_collections_jscore_passthrough_c172cc49e735b6e48f58662e5588961216d3cff0_16_09_25_23_17_00

      In this patch, I moved loglong.js to a new location and it causes the compile to fail:
      https://evergreen.mongodb.com/version/57e577943ff12239ba00ab4f

      Attachments

        Issue Links

          Activity

            People

              jonathan.abrahams Jonathan Abrahams
              waley.chen Waley Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: