提交 1e849f29 编写于 作者: V Vitaly Baranov

Fix permission denied on opening file /var/lib/clickhouse/status in integration tests.

上级 6dd764bc
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册