Merge branch 'random_timezone_for_stateless_tests' of github.com:ClickHouse/ClickHouse into random_timezone_for_stateless_tests

This commit is contained in:
alesapin 2020-11-23 11:40:14 +03:00
commit 255c446c5d

View File

@ -2,7 +2,7 @@
set -e -x
# Choose random timezone for this test run.
# Choose random timezone for this test run
TZ="$(grep -v '#' /usr/share/zoneinfo/zone.tab | awk '{print $3}' | shuf | head -n1)"
echo "Choosen random timezone $TZ"
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone