Skip to content

Commit e8fe6aa

Browse files
authored
Increase timeout to all loadtest (#6631)
1 parent 2757f82 commit e8fe6aa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ydb/tests/olap/lib/ydb_cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,12 @@ def _try_extract_error_message(stderr: str) -> str:
7575
'--executer', 'generic',
7676
'--include', str(query_num),
7777
'--iterations', str(iterations),
78-
'--query-settings', "PRAGMA ydb.HashJoinMode='grace';" + get_external_param('query-prefix', ''),
7978
'--plan', plan_path,
8079
'--verbose'
8180
]
81+
query_preffix = get_external_param('query-prefix', '')
82+
if query_preffix:
83+
cmd += ['--query-settings', query_preffix]
8284
err = None
8385
try:
8486
exec: yatest.common.process._Execution = yatest.common.process.execute(cmd, wait=False, check_exit_code=False)

ydb/tests/olap/load/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class LoadSuiteBase:
1111
iterations: int = 5
1212
workload_type: WorkloadType = None
13-
timeout: float = 300.
13+
timeout: float = 1800.
1414
refference: str = ''
1515

1616
@property

0 commit comments

Comments
 (0)