Skip to content

Commit 68d27f2

Browse files
authored
fix quotes in oom detector (#17575)
1 parent 1313114 commit 68d27f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/tests/olap/load/lib/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def __get_hosts_with_omms(cls, hosts: set[str], start_time: float, end_time: flo
184184
tz = timezone('Europe/Moscow')
185185
start = datetime.fromtimestamp(start_time, tz).strftime("%Y-%m-%d %H:%M:%S")
186186
end = datetime.fromtimestamp(end_time, tz).strftime("%Y-%m-%d %H:%M:%S")
187-
oom_cmd = f'sudo journalctl -k -q --no-pager -S {start} -U {end} --grep "Out of memory: Kill" --case-sensitive=false'
187+
oom_cmd = f'sudo journalctl -k -q --no-pager -S "{start}" -U "{end}" --grep "Out of memory: Kill" --case-sensitive=false'
188188
ooms = set()
189189
for h in hosts:
190190
exec = cls.__execute_ssh(h, oom_cmd)

0 commit comments

Comments
 (0)