mirror of
https://github.com/gryf/coach.git
synced 2025-12-17 19:20:19 +01:00
tests: fixed nightly (#301)
* tests: fixed nightly * tests: temp testing functional tests * tests: temp testing functional tests * tests: add seed to -cp * test: last fix
This commit is contained in:
@@ -396,7 +396,7 @@ def validate_arg_result(flag, p_valid_params, clres=None, process=None,
|
||||
time.sleep(1)
|
||||
|
||||
# get the first value after heat-up
|
||||
time.sleep(1)
|
||||
time.sleep(3)
|
||||
results.append(csv["Total steps"].values[-1])
|
||||
|
||||
assert int(results[-1]) >= Def.Consts.num_hs, \
|
||||
@@ -494,9 +494,10 @@ def validate_arg_result(flag, p_valid_params, clres=None, process=None,
|
||||
worker, and check results.
|
||||
"""
|
||||
# wait until files created
|
||||
csv_path = get_csv_path(clres=clres, extra_tries=20)
|
||||
|
||||
num_expected_files = int(flag[1])
|
||||
csv_path = get_csv_path(clres=clres, extra_tries=20,
|
||||
num_expected_files=num_expected_files)
|
||||
|
||||
assert len(csv_path) >= num_expected_files, \
|
||||
Def.Consts.ASSERT_MSG.format(str(num_expected_files),
|
||||
str(len(csv_path)))
|
||||
|
||||
Reference in New Issue
Block a user