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

Make JSONSchemaTestCase in resmoke.py more generic

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: 3.5.13
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2018-03-12, TIG 2018-03-26

      The generational fuzzer test suites (and future FSM suites) can benefit from using the same model as the json schema tests of loading a JS test runner and passing in test files through TestData that the test runner can then use.

      The main change is to rename the JSONSchemaTestCase (and related code) into something more generic, like JSRunnerTestCase. I think the only piece of logic change that is required is to have TEST_RUNNER_FILE be passed in, through the suite configuration, instead of being hard-coded.

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: