Skip to content

Commit

Permalink
test timeout to 5 min
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin committed Dec 11, 2024
1 parent 4deebbb commit 40e7b0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test_manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def generate_test(src_path, file, res_path, _unused):
TEST_DICT[os.path.join(src_path, file)] = test_name
with open(TEST_FILE, 'a', encoding='utf8') as test_file:

test_file.write(f'\n\n\n@pytest.mark.timeout(60)'
test_file.write(f'\n\n\n@pytest.mark.timeout(300)'
f'\ndef {test_name}():'
f'\n global all_reader'
f'\n (b,a,c)=compare_reader_result(r\'{src_path}\',r\'{res_path}\',r\'{file}\')'
Expand Down
2 changes: 1 addition & 1 deletion test_manager/profile_test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _generate_profile_tests(src_path, file, _unused, res_path):
TEST_DICT[os.path.join(src_path, file)] = test_name

with open(TEST_FILE, 'a', encoding='utf8') as test_file:
test_file.write(f'\n\n\n@pytest.mark.timeout(60)'
test_file.write(f'\n\n\n@pytest.mark.timeout(300)'
f'\ndef {test_name}():'
f'\n global all_reader'
f'\n (a, b)=compare_profile_result(r\'{src_path}\',r\'{res_path}\',r\'{file}\')'
Expand Down

0 comments on commit 40e7b0d

Please sign in to comment.