timeout changes (#8067)
This commit is contained in:
parent
984fda6305
commit
5628a51c1f
@ -75,7 +75,7 @@ def run_memorytest(args: dict, log=None):
|
||||
stats = {}
|
||||
for run_iter in range(args["niter"]):
|
||||
tmp_stats_path = tempfile.NamedTemporaryFile().name
|
||||
retcode, msg = cmd_exec(cmd_common + ["-s", str(tmp_stats_path)], timeout=60, log=log)
|
||||
retcode, msg = cmd_exec(cmd_common + ["-s", str(tmp_stats_path)], log=log)
|
||||
if retcode != 0:
|
||||
log.error("Run of executable '{}' failed with return code '{}'. Error: {}\n"
|
||||
"Statistics aggregation is skipped.".format(args["executable"], retcode, msg))
|
||||
|
@ -233,9 +233,6 @@ def omz_models_conversion(instance, request):
|
||||
return_code, _ = cmd_exec(cmd, log=logging)
|
||||
assert return_code == 0, "Converting OMZ models has failed!"
|
||||
|
||||
instance["orig_instance"]["model"]["framework"] = model_info["framework"]
|
||||
instance["orig_instance"]["model"]["path"] = sub_model_path
|
||||
|
||||
instance["instance"]["model"]["cache_path"] = model_out_path
|
||||
instance["instance"]["model"]["irs_out_path"] = model_irs_out_path
|
||||
|
||||
|
2
tests/memory_tests/test_runner/pytest.ini
Normal file
2
tests/memory_tests/test_runner/pytest.ini
Normal file
@ -0,0 +1,2 @@
|
||||
[pytest]
|
||||
timeout = 200
|
Loading…
Reference in New Issue
Block a user