Increase timeout for tests on riscv64

(cherry picked from commit 841ce4880e05e91e6c2d4e0a2ee59ad1bb34d876)
This commit is contained in:
David Abdurachmanov 2024-02-24 10:43:53 +08:00 committed by Richard W.M. Jones
parent 1e62d20d3c
commit 45068b0f2d
1 changed files with 10 additions and 1 deletions

View File

@ -11,7 +11,7 @@ ideal for real-time web services.}
Name: python-%{srcname}
Version: 6.3.3
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Scalable, non-blocking web server and tools
License: Apache-2.0
@ -59,6 +59,12 @@ This package contains some example applications.
# Skip the same timing-related tests that upstream skips when run in Travis CI.
# https://github.com/tornadoweb/tornado/commit/abc5780a06a1edd0177a399a4dd4f39497cb0c57
export TRAVIS=true
# Increase timeout for tests on riscv64
%ifarch riscv64
export ASYNC_TEST_TIMEOUT=80
%endif
%{py3_test_envvars} %{python3} -m tornado.test
%files -n python3-%{srcname} -f %{pyproject_files}
@ -69,6 +75,9 @@ export TRAVIS=true
%doc demos
%changelog
* Fri Jun 07 2024 Richard W.M. Jones <rjones@redhat.com> - 6.3.3-4
- Increase timeout for tests on riscv64
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild