apiVersion: api/v1
kind: Case
name: dm_benchbot_1g_binlog_file
features: [dm]
summary: dm test special migration
steps: |
    1. add source to dm by `operate-create source.yaml`
    2. start-task task.yaml, add data to upstream, make sure 1gb binlog file available
    3. check the duration
priority: P1
supportedVersions: ["nightly"]
tags: ["dm"]
designer: xujianxu@pingcap.com
automation: AUTOMATED
active: true
framework:
    generic:
        command:
            [
                "/bin/sh",
                "-c",
                "/dm_test_infra --workload testcases/dm_benchbot_1g_binlog_file/workload.yaml --path testcases/dm_benchbot_1g_binlog_file/path.yaml",
            ]
        workingDir: "/"
        env: null
        image: hub-new.pingcap.net/dm/test-infra:dm_benchbot_1g_binlog_file
        imagePullPolicy: Always
parameters:
    - type: RESOURCE
      name: upstream1
      default: upstream1
    - type: RESOURCE
      name: downstream
      default: downstream
    - type: RESOURCE
      name: dm
      default: dm
    - type: RESOURCE
      name: workload
      default: workload
    - type: RESOURCE
      name: syncdiff
      default: syncdiff
    - type: STRING
      name: dsn
      default: |
          "dmbenchmark:0ahUKEwi11OL61sf@tcp(172.16.4.36:3306)/dmbenchmark"
