Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 944ec30

Browse files
committed
Printing tps in pgbench_single, collecting pg_config.
1 parent cec7122 commit 944ec30

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

devops/pgbench_run.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,17 @@
7373
flat: yes
7474
run_once: true
7575

76+
- name: collect pg_config
77+
shell: pg_config > "pg_config.out"
78+
run_once: true
79+
80+
- name: collect pg_config
81+
fetch:
82+
src: "pg_config.out"
83+
dest: res/{{ test_id }}/pg_config.out
84+
flat: yes
85+
run_once: true
86+
7687
- import_playbook: logs.yml logs=res/{{ test_id }}/logs
7788
tags:
7889
- logs
@@ -96,4 +107,4 @@
96107
register: tps
97108
run_once: true
98109

99-
- debug: msg={{ tps.stdout }}
110+
- debug: msg="{{ tps.stdout }}. test_id {{ test_id }} "

devops/pgbench_single.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,10 @@
4646
fail_on_missing: yes
4747
tags:
4848
- fetch
49+
50+
- name: print tps
51+
local_action: shell cat res/pgbench_single.out
52+
register: tps
53+
run_once: true
54+
55+
- debug: msg={{ tps.stdout }}

0 commit comments

Comments
 (0)