commit:     df822423436f87dcd357ff2e2af57e041135d661
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 07:52:06 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 07:52:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df822423

dev-python/websockets: Fix tests on slower systems for 9.1

Infuriatingly, this approach makes one of the 10.0 tests fail
consistently on my fast desktop.

Bug: https://bugs.gentoo.org/810094
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-python/websockets/websockets-9.1-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-python/websockets/websockets-9.1-r1.ebuild 
b/dev-python/websockets/websockets-9.1-r1.ebuild
index b4202f59a40..319a32d784b 100644
--- a/dev-python/websockets/websockets-9.1-r1.ebuild
+++ b/dev-python/websockets/websockets-9.1-r1.ebuild
@@ -33,3 +33,6 @@ src_prepare() {
 
        distutils-r1_src_prepare
 }
+
+# Be more tolerant with time-sensitive tests for slow systems.
+export WEBSOCKETS_TESTS_TIMEOUT_FACTOR=100

Reply via email to