Skip to content

Commit

Permalink
allow to use tag choice run mysql tpcc test
Browse files Browse the repository at this point in the history
  • Loading branch information
denglei committed Aug 27, 2014
1 parent a960a47 commit ec04ced
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mysql_tpcc_install/roles/mysql_tpcc_install/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
- name: Start Mysql Tpcc Test In Redhat Client
shell: /tmp/tpcc-mysql/tpcc_start -h {{ ansible_default_ipv4.address }} -u {{ mysql_database_user }} -p{{ mysql_passwd }} -d {{ tpcc_database_name }} -w {{ w }} -c {{ c }} -r {{ r }} -l {{ l }} -f {{ f }} > /tmp/tpcc-mysql/{{ f }}.log
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest
- name: Copy Mysql Tpcc Result from Redhat Client
fetch: src=/tmp/tpcc-mysql/{{ f }}.log dest=/tmp/mysql-tpcc-{{ ansible_default_ipv4.address }}.log flat=yes
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest

0 comments on commit ec04ced

Please sign in to comment.