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

Create resmoke.py hook that drops all databases without restarting the cluster

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.10
    • Fix Version/s: 4.0.0-rc0
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.6
    • Sprint:
      TIG 2018-05-21
    • Linked BF Score:
      42
    • Story Points:
      3

      Description

      Add support for including background/perpetual workloads. Background/perpetual workloads should be done as background threads in resmoke.py and don't need any special handling other than ensuring adequate documentation in our internal wiki.

      Also, add a new hook to drop all DBs and collections after every FSM test. When running in "the same" DB Or "same collection" FSM modes, pass the DB or collection that are not dropped to the new cleanup hook. CleanupOption of not dropping certain DBs will be taken into account as needed.

      The new hook will be used in place of CleanEveryN to avoid the overhead of spinning up a large cluster multiple times.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jonathan.abrahams Jonathan Abrahams
              Reporter:
              robert.guo Robert Guo
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: