Fix paths

This commit is contained in:
Alexey Milovidov 2023-08-03 15:28:18 +02:00
parent 2c085955d1
commit 65e8ee8fb7
2 changed files with 7 additions and 5 deletions

View File

@ -42,8 +42,10 @@ done
# Run the test
pushd sqltest/standards/2016/
/test.py
mv report.html test.log /
mv report.html test.log /workspace
popd
zstd --threads=0 /var/log/clickhouse-server/clickhouse-server.log
zstd --threads=0 /var/log/clickhouse-server/clickhouse-server.err.log
mv /var/log/clickhouse-server/clickhouse-server.log.zst /var/log/clickhouse-server/clickhouse-server.err.log.zst /workspace

View File

@ -110,10 +110,10 @@ def main():
s3_prefix = f"{pr_info.number}/{pr_info.sha}/sqltest_{check_name_lower}/"
paths = {
"run.log": run_log_path,
"server.log.zst": os.path.join(workspace_path, "/var/log/clickhouse-server/server.log.zst"),
"server.err.log.zst": os.path.join(workspace_path, "/var/log/clickhouse-server/server.err.log.zst"),
"report.html": os.path.join(workspace_path, "/report.html"),
"test.log": os.path.join(workspace_path, "/test.log"),
"server.log.zst": os.path.join(workspace_path, "/workspace/server.log.zst"),
"server.err.log.zst": os.path.join(workspace_path, "/workspace/server.err.log.zst"),
"report.html": os.path.join(workspace_path, "/workspace/report.html"),
"test.log": os.path.join(workspace_path, "/workspace/test.log"),
}
s3_helper = S3Helper()