[Python-modules-commits] [txfixtures] 04/05: fix-flaky-service-hung-test

Free Ekanayaka freee at moszumanska.debian.org
Thu Feb 2 09:42:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

freee pushed a commit to branch patch-queue/master
in repository txfixtures.

commit 3d50fcaf54d5cc3530bcf418eaca3f469f1165c1
Author: Free Ekanayaka <freee at debian.org>
Date:   Thu Jan 5 23:42:16 2017 +0000

    fix-flaky-service-hung-test
    
    Increase the timeout used to detect if service process is
    hung.
    
    Gbp-Pq: Name 0005-fix-flaky-service-hung-test.patch
---
 tests/test_service.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_service.py b/tests/test_service.py
index 385b97d..3b136f0 100644
--- a/tests/test_service.py
+++ b/tests/test_service.py
@@ -71,7 +71,7 @@ class ServiceIntegrationTest(TestCase):
         If the given command doesn't terminate with SIGTERM, it's SIGKILL'ed.
         """
         self.script.hang()
-        self.fixture.protocol.timeout = 0.2
+        self.fixture.protocol.timeout = 1.0
         self.fixture.expectOutput("hanging")
         self.fixture.setUp()
         self.fixture.cleanUp()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/txfixtures.git



More information about the Python-modules-commits mailing list