# test name
name: "upgrade"
creator: "jebter"
# type is the type of the test, supported type: prepare / test
# we will run the prepare tests before all test tests
type: "test"
tags:
  - upgrade

environment:
  # machine resources
  resources:
    # limits:
    #   cpu: 1000m
    #   memory: 2Gi
    # requests:
    #   cpu: 1000m
    #   memory: 2Gi
  # image is a docker execution image for running test
  # default image: hub.pingcap.net/schrodinger/agent:latest
  #image: hub.pingcap.net/schrodinger/agent:latest

  # execution arguments
  args: -mode full -notify-ddl upgrade-ddl-release20 -wait-interval 3m -break-interval 5m

# manual for users
manual:
  # description is to introduce the test purpose and instructions for this case.
  description: |-
    this test is used to upgrade.
  # describe the purpose of the parameters and optional values
  parameters: |-
    notify-ddl: notify ddl name
    break-interval: what interval will kill a node
    notify-interval: what interval will notify
    wait-interval: what interval to wait
  # notes is to list all matters which need to be noted
  # eg: the special requirements of the test environment
  notes: |-
    If there is an error, the upgrade will fail to run. 