From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 36FFE158089 for ; Fri, 3 Dec 2021 20:47:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DF0E2BC022; Fri, 3 Dec 2021 20:47:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 348152BC022 for ; Fri, 3 Dec 2021 20:47:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4DEA334306A for ; Fri, 3 Dec 2021 20:47:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88F7A219 for ; Fri, 3 Dec 2021 20:47:44 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1638564453.cf837bbd487521ce80220ecba5e4238215bbe77a.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/watchgod/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/watchgod/watchgod-0.7.ebuild X-VCS-Directories: dev-python/watchgod/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: cf837bbd487521ce80220ecba5e4238215bbe77a X-VCS-Branch: master Date: Fri, 3 Dec 2021 20:47:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 764f8604-b7db-4c2c-b308-8f704c64ab6a X-Archives-Hash: 36c003cd6f72d703391e33b811977a5f commit: cf837bbd487521ce80220ecba5e4238215bbe77a Author: Arthur Zamarin gentoo org> AuthorDate: Fri Dec 3 20:46:32 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Dec 3 20:47:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf837bbd dev-python/watchgod: increase timeout for slow systems Signed-off-by: Arthur Zamarin gentoo.org> dev-python/watchgod/watchgod-0.7.ebuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev-python/watchgod/watchgod-0.7.ebuild b/dev-python/watchgod/watchgod-0.7.ebuild index 92e36bbd9492..7efbc07f534f 100644 --- a/dev-python/watchgod/watchgod-0.7.ebuild +++ b/dev-python/watchgod/watchgod-0.7.ebuild @@ -27,3 +27,15 @@ BDEPEND=" " distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # flaky test on slow systems, https://github.com/samuelcolvin/watchgod/issues/84 + tests/test_watch.py::test_awatch_log +) + +src_prepare() { + # increase timeout + sed -e '/sleep/s/0.01/1.0/' -i tests/test_watch.py || die + + distutils-r1_src_prepare +}