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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Query 2017-04-17
    • 0

      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.

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

              Created:
              Updated:
              Resolved: