diff options
author | Paul Dagnelie <[email protected]> | 2023-02-02 15:19:26 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-02 15:19:26 -0800 |
commit | 90f4e01f8ab89edc39bfa227032acb66ae511988 (patch) | |
tree | fe75bf7bcee5f652aa9d802b860347d8aadb4faf /tests | |
parent | ac2038a19c3b7e9ba913a850e05ba773725bd25d (diff) |
Prevent error messages when running tests with no timeout
Reviewed-by: Richard Yao <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Paul Dagnelie <[email protected]>
Closes #14450
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/test-runner/bin/test-runner.py.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-runner/bin/test-runner.py.in b/tests/test-runner/bin/test-runner.py.in index cb453b266..28276ebc4 100755 --- a/tests/test-runner/bin/test-runner.py.in +++ b/tests/test-runner/bin/test-runner.py.in @@ -297,7 +297,7 @@ User: %s proc = Popen(privcmd, stdout=PIPE, stderr=PIPE) # Allow a special timeout value of 0 to mean infinity if int(self.timeout) == 0: - self.timeout = sys.maxsize + self.timeout = sys.maxsize / (10 ** 9) t = Timer(int(self.timeout), self.kill_cmd, [proc]) try: |