forked from TrueCloudLab/frostfs-testlib
1. Increase wait time for k6 teardown after stop signal 2. Remove duplicated code
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
32a8c5274a
commit
123b5425a8
9 changed files with 40 additions and 371 deletions
|
@ -10,6 +10,9 @@ def parse_time(value: str) -> int:
|
|||
Returns:
|
||||
Number of seconds in the parsed time interval.
|
||||
"""
|
||||
if value is None:
|
||||
return 0
|
||||
|
||||
value = value.lower()
|
||||
|
||||
for suffix in ["s", "sec"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue