From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Thu, 29 Nov 2007 21:47:35 +0000 (-0700)
Subject: unit tests: bump up a timeout which I encountered when running on a very slow machine
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/simplejson/%22news.html/somewhere?a=commitdiff_plain;h=7b24eebd0af82332ac65a0f70ce6d150371a6400;p=tahoe-lafs%2Ftahoe-lafs.git

unit tests: bump up a timeout which I encountered when running on a very slow machine
---

diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py
index 20515bcf..6fbc1612 100644
--- a/src/allmydata/test/test_system.py
+++ b/src/allmydata/test/test_system.py
@@ -399,6 +399,9 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase):
         d.addCallback(_created_dirnode)
 
         return d
+    # The default 120 second timeout went off when running it under valgrind
+    # on my old Windows laptop, so I'm bumping up the timeout.
+    test_mutable.timeout = 240
 
     def flip_bit(self, good):
         return good[:-1] + chr(ord(good[-1]) ^ 0x01)