Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase the timeout for tests to 3,000,000 secs #2375

Open
shruti25ratnam opened this issue Nov 9, 2022 · 0 comments
Open

Increase the timeout for tests to 3,000,000 secs #2375

shruti25ratnam opened this issue Nov 9, 2022 · 0 comments

Comments

@shruti25ratnam
Copy link
Contributor

shruti25ratnam commented Nov 9, 2022

Currently testsuite.py only allows upto 150000 secs:

For any greater timeouts it errors out with the following message and trace:
Error: OverflowError: timeout value is too large

Traceback (most recent call last):
File "D:\lisa\2\lisa\lisa\testsuite.py", line 680, in __before_case
self.__call_with_retry_and_timeout(
File "D:\lisa\2\lisa\lisa\testsuite.py", line 750, in __call_with_retry_and_timeout
retry_call(
File "D:\lisa\2\lisa.venv\lib\site-packages\retry\api.py", line 101, in retry_call
return __retry_internal(partial(f, *args, **kwargs), exceptions, tries, delay, max_delay, backoff, jitter, logger)
File "D:\lisa\2\lisa.venv\lib\site-packages\retry\api.py", line 33, in __retry_internal
return f()
File "D:\lisa\2\lisa.venv\lib\site-packages\func_timeout\dafunc.py", line 86, in func_timeout
thread.join(timeout)
File "C:\Users\shratnam\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1100, in join
self._wait_for_tstate_lock(timeout=max(timeout, 0))
File "C:\Users\shratnam\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1116, in _wait_for_tstate_lock
if lock.acquire(block, timeout):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant