From 1158c4aae5ec5d1df2aa813ac3b2ea60124e12e7 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 1 Nov 2007 19:19:08 -0700 Subject: [PATCH] test_client: increase test_reloadable inter-run timeout, cygwin was failing --- src/allmydata/test/test_client.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/allmydata/test/test_client.py b/src/allmydata/test/test_client.py index ee40ef86..a186f8c9 100644 --- a/src/allmydata/test/test_client.py +++ b/src/allmydata/test/test_client.py @@ -160,7 +160,11 @@ class Run(unittest.TestCase): c1 = client.Client(basedir) c1.setServiceParent(self.sparent) - d = self.stall(delay=0.1) + # the cygwin buildslave seems to need more time to let the old + # service completely shut down. When delay=0.1, I saw this test fail, + # probably due to the logport trying to reclaim the old socket + # number. + d = self.stall(delay=2.0) d.addCallback(lambda res: c1.disownServiceParent()) def _restart(res): # TODO: pause for slightly over one second, to let -- 2.45.2