Commit 7d5cc169 authored by Štěpán Balážik's avatar Štěpán Balážik

pytest: change the internal name of tests to descriptively show maximum number of retries

note that kresd-comparative test won't pass since the change of the names
parent 7009d493
Pipeline #43460 failed with stage
in 3 minutes and 5 seconds
...@@ -134,7 +134,7 @@ def pytest_generate_tests(metafunc): ...@@ -134,7 +134,7 @@ def pytest_generate_tests(metafunc):
max_retries = metafunc.config.option.retries max_retries = metafunc.config.option.retries
if max_retries is None: if max_retries is None:
max_retries = 3 max_retries = 3
metafunc.parametrize("max_retries", [max_retries], ids=str) metafunc.parametrize("max_retries", [max_retries], ids=lambda id: "max-retries-"+str(id))
def check_log_level_xdist(level): def check_log_level_xdist(level):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment