Merge pull request #61910 from peter279k/fix_pr_60656_install_tests

Fix PR #60656 for install check tests
This commit is contained in:
Nikita Mikhaylov 2024-04-25 11:16:22 +00:00 committed by GitHub
commit 9b51476399
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ set -e
trap "bash -ex /packages/preserve_logs.sh" ERR trap "bash -ex /packages/preserve_logs.sh" ERR
test_env='TEST_THE_DEFAULT_PARAMETER=15' test_env='TEST_THE_DEFAULT_PARAMETER=15'
echo "$test_env" >> /etc/default/clickhouse echo "$test_env" >> /etc/default/clickhouse
systemctl start clickhouse-server systemctl restart clickhouse-server
clickhouse-client -q 'SELECT version()' clickhouse-client -q 'SELECT version()'
grep "$test_env" /proc/$(cat /var/run/clickhouse-server/clickhouse-server.pid)/environ""" grep "$test_env" /proc/$(cat /var/run/clickhouse-server/clickhouse-server.pid)/environ"""
initd_test = r"""#!/bin/bash initd_test = r"""#!/bin/bash