]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_client: increase test_reloadable inter-run timeout, cygwin was failing
authorBrian Warner <warner@allmydata.com>
Fri, 2 Nov 2007 02:19:08 +0000 (19:19 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 2 Nov 2007 02:19:08 +0000 (19:19 -0700)
src/allmydata/test/test_client.py

index ee40ef864493de1eaa9b35d64c4b94869c35903a..a186f8c959d80ec0065ce1be6945f0b89eccebb6 100644 (file)
@@ -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