gnu: python-websockets: Extend test timeout.

* gnu/packages/python-web.scm (python-websockets)[arguments]: Add phase
to extend the tests timeout so slower machines can complete them.
This commit is contained in:
Efraim Flashner 2022-09-19 12:54:40 +03:00
parent 2266ec5eb1
commit 9b30301efe
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5671,6 +5671,12 @@ (define-public python-websockets
(base32
"1vk7g5z977mi89hamwiqawpmibwvv9ghrf3pqva1waxmyc7gyjb5"))))
(build-system python-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
(add-before 'check 'extend-test-timeout
(lambda _
(setenv "WEBSOCKETS_TESTS_TIMEOUT_FACTOR" "10"))))))
(home-page "https://github.com/aaugustin/websockets")
(synopsis
"Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")