aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqrort <qrort@yandex-team.com>2023-07-03 01:21:13 +0300
committerqrort <qrort@yandex-team.com>2023-07-03 01:21:13 +0300
commit9eca6f9e5a07e7d0e3afee9d1fecd26d89c0a1f1 (patch)
treeef5a76366c8a48317bfc0295792436bbd379105c
parent995eb3873b3cee8fb2c969a27d8871d67909393d (diff)
downloadydb-9eca6f9e5a07e7d0e3afee9d1fecd26d89c0a1f1.tar.gz
clickbench path to relative
-rw-r--r--ydb/tests/functional/clickbench/test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ydb/tests/functional/clickbench/test.py b/ydb/tests/functional/clickbench/test.py
index 37430c4a8a..35fa42f46a 100644
--- a/ydb/tests/functional/clickbench/test.py
+++ b/ydb/tests/functional/clickbench/test.py
@@ -28,7 +28,8 @@ def run_cli(argv):
def get_queries(filename):
- path = os.path.join(yatest.common.source_path("ydb/tests/functional/clickbench"), filename)
+ arcadia_root = yatest.common.source_path('')
+ path = os.path.join(arcadia_root, yatest.common.test_source_path(''), filename)
with open(path, "r") as r:
data = r.read()
for query in data.split('\n'):