Fix PR #60656 for install check tests

This commit is contained in:
peter279k 2024-03-26 13:35:35 +08:00
parent 2dca4678dd
commit a47b407495
No known key found for this signature in database
GPG Key ID: 4F0DC51B27994EFE

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