Skip to content

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

Open
@shruti25ratnam

Description

@shruti25ratnam

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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions