summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-11-29 19:08:29 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2021-11-29 19:15:19 +0200
commite79e0ffb4eea5af7be454acf860421357ce8e2c9 (patch)
treef91b200c295e06f319478a747ce7aa49c170b185 /dev-python
parentsys-apps/openrc: 0.44.9 bump (diff)
downloadgentoo-e79e0ffb4eea5af7be454acf860421357ce8e2c9.tar.gz
gentoo-e79e0ffb4eea5af7be454acf860421357ce8e2c9.tar.bz2
gentoo-e79e0ffb4eea5af7be454acf860421357ce8e2c9.zip
dev-python/eventlet: increase test timeout
Thanks to Alex Fan for finding the issue By Dakon's request, timeout increased to 5.0 No revbump as change is for test only file Closes: https://bugs.gentoo.org/791748 Suggested-by: Alex Fan <alex.fan.q@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/eventlet/eventlet-0.32.0-r1.ebuild7
-rw-r--r--dev-python/eventlet/eventlet-0.33.0.ebuild7
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/eventlet/eventlet-0.32.0-r1.ebuild b/dev-python/eventlet/eventlet-0.32.0-r1.ebuild
index a81f2a45c013..b6b8418fc5b2 100644
--- a/dev-python/eventlet/eventlet-0.32.0-r1.ebuild
+++ b/dev-python/eventlet/eventlet-0.32.0-r1.ebuild
@@ -34,6 +34,13 @@ PATCHES=(
distutils_enable_tests nose
+src_prepare() {
+ # increase timeout - #791748
+ sed -e '/eventlet.sleep/s/0.1/5.0/' -i tests/isolated/patcher_fork_after_monkey_patch.py || die
+
+ distutils-r1_src_prepare
+}
+
python_test() {
unset PYTHONPATH
export TMPDIR="${T}"
diff --git a/dev-python/eventlet/eventlet-0.33.0.ebuild b/dev-python/eventlet/eventlet-0.33.0.ebuild
index a7175fc4a069..c756e81125c4 100644
--- a/dev-python/eventlet/eventlet-0.33.0.ebuild
+++ b/dev-python/eventlet/eventlet-0.33.0.ebuild
@@ -34,6 +34,13 @@ PATCHES=(
distutils_enable_tests nose
+src_prepare() {
+ # increase timeout - #791748
+ sed -e '/eventlet.sleep/s/0.1/5.0/' -i tests/isolated/patcher_fork_after_monkey_patch.py || die
+
+ distutils-r1_src_prepare
+}
+
python_test() {
unset PYTHONPATH
export TMPDIR="${T}"