From: Brian Warner Date: Fri, 2 Nov 2007 02:19:08 +0000 (-0700) Subject: test_client: increase test_reloadable inter-run timeout, cygwin was failing X-Git-Tag: allmydata-tahoe-0.7.0~298 X-Git-Url: https://git.rkrishnan.org/CLI.txt?a=commitdiff_plain;h=1158c4aae5ec5d1df2aa813ac3b2ea60124e12e7;p=tahoe-lafs%2Ftahoe-lafs.git test_client: increase test_reloadable inter-run timeout, cygwin was failing --- 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