mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Adding memory info to testflows RBAC
This commit is contained in:
parent
124d9e14ad
commit
9fd3cd2a21
@ -28,6 +28,10 @@ def instrument_clickhouse_server_log(self, node=None, clickhouse_server_log="/va
|
||||
try:
|
||||
with And("adding test name start message to the clickhouse-server.log"):
|
||||
node.command(f"echo -e \"\\n-- start: {current().name} --\\n\" >> {clickhouse_server_log}")
|
||||
with And("dump memory info"):
|
||||
node.command(f"echo -e \"\\n-- {current().name} -- top --\\n\" && top -bn1")
|
||||
node.command(f"echo -e \"\\n-- {current().name} -- df --\\n\" && df -h")
|
||||
node.command(f"echo -e \"\\n-- {current().name} -- free --\\n\" && free -mh")
|
||||
yield
|
||||
|
||||
finally:
|
||||
|
Loading…
Reference in New Issue
Block a user