Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailBurdukov committed Feb 9, 2024
1 parent d053b0e commit 0f6a151
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/features/chadmin_zookeeper.feature
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ Feature: chadmin zookeeper commands.
"""
CREATE TABLE test_db.test ON CLUSTER 'cluster_with_removed_host' (a int) ENGINE=MergeTree() ORDER BY a
"""

And we do hosts cleanup on clickhouse02 with fqdn zone-host.db.asd.net
Then there are no unfinished dll queries on clickhouse02
4 changes: 2 additions & 2 deletions tests/steps/clickhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ def step_put_config(context, path, node):
config = context.text
container = get_container(context, node)
result = container.exec_run(
["bash", "-c", "echo", "-e", '"', config, '"', ">", path], user="root"
["bash", "-c", f'echo -e " {config} " > {path}'], user="root"
)
assert_that(result.exit_code, equal_to(0))

result = container.exec_run(
["bash", "-c", "supervisorctl", "restart", "clickhouse-server"], user="root"
["bash", "-c", "supervisorctl restart clickhouse-server"], user="root"
)
assert_that(result.exit_code, equal_to(0))

0 comments on commit 0f6a151

Please sign in to comment.