The implicitly_enable_profiler.js test override should also patch the output of listDatabases

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Consider the following sequence:

      • In a suite running the jstests/libs/override_methods/implicitly_enable_profiler.js override, a database dbName with a single collection is created
      • dbName gets dropped
      • dbName.listCollections is invoked, causing dbName.system.profile to be recreated
      • subsequent invocations of listDatabase will include dbName in their result

              Assignee:
              Unassigned
              Reporter:
              Paolo Polato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: