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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • 3
    • 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 Unassigned
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: