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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Kyle Suarez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: