From 1e849f297549f90bd7671286cace24f36c14e801 Mon Sep 17 00:00:00 2001 From: Vitaly Baranov Date: Sat, 12 Sep 2020 03:16:50 +0300 Subject: [PATCH] Fix permission denied on opening file /var/lib/clickhouse/status in integration tests. --- tests/integration/helpers/cluster.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/helpers/cluster.py b/tests/integration/helpers/cluster.py index 44a22d3fe2..a8704ee42b 100644 --- a/tests/integration/helpers/cluster.py +++ b/tests/integration/helpers/cluster.py @@ -1165,6 +1165,7 @@ class ClickHouseInstance: db_dir = p.abspath(p.join(self.path, 'database')) print "Setup database dir {}".format(db_dir) + os.mkdir(db_dir) if self.clickhouse_path_dir is not None: print "Database files taken from {}".format(self.clickhouse_path_dir) shutil.copytree(self.clickhouse_path_dir, db_dir) -- GitLab