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

Tests in jscore should not use jsTest.name() for its collection name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.6
    • None
    • None
    • Fully Compatible
    • ALL
    • Query 2017-04-17
    • 0

    Description

      The tests projection_dotted_paths.js and explain_agg_write_concern.js both do something like

      let coll = db.getSiblingDB("blah").getCollection(jsTest.name());
      coll.drop()
      

      This is unfortunate because, in the parallel suite, the name of the test is "basicPlus", which means that the two tests will conflict with each other and drop each other's data.

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: