Skip to content

Commit 7a47f56

Browse files
committed
abs path in perf.yml
1 parent b293a3e commit 7a47f56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/perf.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@
1616
connections: "{{ connstrs.results | map(attribute='ansible_facts.connstr') | join }}"
1717

1818
- name: copy transfers binary
19-
copy: src=perf/perf.linux dest=~/perf mode=a+x
19+
copy: src=perf/perf.linux dest=~/perf mode=0755
2020

2121
- hosts: clients[0]
2222
gather_facts: no
2323
tasks:
2424
- name: fill the databases
25-
shell: "./perf {{connections}} -g -i"
25+
shell: "~/perf {{connections}} -g -i"
2626
register: transfers_result
2727
- debug: "var=transfers_result"
2828

2929
- hosts: clients[0]
3030
gather_facts: no
3131
tasks:
3232
- name: run transfers
33-
shell: "./perf {{connections}} {{runkeys | d('-g -w 64 -r 1 -n 1000 -a 10000')}}"
33+
shell: "~/perf {{connections}} {{runkeys | d('-g -w 64 -r 1 -n 1000 -a 10000')}}"
3434
register: transfers_result
3535
- debug: var=transfers_result
3636

0 commit comments

Comments
 (0)