]> git.ipfire.org Git - thirdparty/zstd.git/commit
Increase tests timeout 3540/head
authorDmitriy Voropaev <voropaevdmtr@altlinux.org>
Thu, 9 Mar 2023 12:31:05 +0000 (16:31 +0400)
committerDmitriy Voropaev <voropaevdmtr@altlinux.org>
Thu, 9 Mar 2023 12:31:05 +0000 (16:31 +0400)
commitb7080f4c67bdb9d190bda529f7309e34fb990b23
tree7601935c450b4602aeb746bc884a2c567ddc9870
parent07a2a33135a5f5fd99c7f69e7dc0147c6894d252
Increase tests timeout

    Current timeout is too small for some slower machines, e.g. most modern riscv64 boards,
    where tests fail with the following diagnostics:

     Traceback (most recent call last):
       File "/usr/src/RPM/BUILD/zstd-1.5.4-alt2/tests/./cli-tests/run.py", line 734, in <module>
         success = run_tests(tests, opts)
       File "/usr/src/RPM/BUILD/zstd-1.5.4-alt2/tests/./cli-tests/run.py", line 601, in run_tests
         tests[test_case.name] = test_case.run()
       File "/usr/src/RPM/BUILD/zstd-1.5.4-alt2/tests/./cli-tests/run.py", line 285, in run
         return self.analyze()
       File "/usr/src/RPM/BUILD/zstd-1.5.4-alt2/tests/./cli-tests/run.py", line 275, in analyze
         self._join_test()
       File "/usr/src/RPM/BUILD/zstd-1.5.4-alt2/tests/./cli-tests/run.py", line 330, in _join_test
         (stdout, stderr) = self._test_process.communicate(timeout=self._opts.timeout)
       File "/usr/lib64/python3.10/subprocess.py", line 1154, in communicate
         stdout, stderr = self._communicate(input, endtime, timeout)
       File "/usr/lib64/python3.10/subprocess.py", line 2006, in _communicate
         self._check_timeout(endtime, orig_timeout, stdout, stderr)
       File "/usr/lib64/python3.10/subprocess.py", line 1198, in _check_timeout
         raise TimeoutExpired(
     subprocess.TimeoutExpired: Command '['/usr/src/RPM/BUILD/zstd-1.5.4-alt2/tests/cli-tests/compression/window-resize.sh']' timed out after 60 seconds
tests/cli-tests/run.py