---
  version: 2
  title: Task for gate-rally-dsvm-watcher-rally-ubuntu-xenial-nv job
  description: >
    This task contains various scenarios for testing watcher plugins
  subtasks:
    -
      title:  Watcher.create_audit_and_delete tests
      scenario:
        Watcher.create_audit_and_delete: {}
      runner:
        constant:
          times: 10
          concurrency: 2
      contexts:
        users:
          tenants: 2
          users_per_tenant: 2
        audit_templates:
          audit_templates_per_admin: 5
          fill_strategy: "round_robin"
          params:
            - goal:
                  name: "dummy"
              strategy:
                  name: "dummy"
    -
      title: Watcher.create_audit_template_and_delete tests
      scenario:
        Watcher.create_audit_template_and_delete:
          goal:
            name: "dummy"
          strategy:
            name: "dummy"
      runner:
        constant:
          times: 10
          concurrency: 2
    -
      title: Watcher.list_audit_templates tests
      scenario:
        Watcher.list_audit_templates: {}
      runner:
        constant:
          times: 10
          concurrency: 2
      contexts:
        users:
          tenants: 2
          users_per_tenant: 2
        audit_templates:
          audit_templates_per_admin: 5
          fill_strategy: "random"
          params:
            - goal:
                  name: "workload_balancing"
              strategy:
                  name: "workload_stabilization"
            - goal:
                  name: "dummy"
              strategy:
                  name: "dummy"
