From: Brian Warner <warner@lothar.com>
Date: Fri, 6 Feb 2009 09:17:53 +0000 (-0700)
Subject: test_cli: increase timeout on test_backup, since our dapper buildslave is really... 
X-Git-Tag: allmydata-tahoe-1.3.0~69
X-Git-Url: https://git.rkrishnan.org/vdrive/@manifest?a=commitdiff_plain;h=1fd8f023abb4c67f84bb9fab36f82fde642c7473;p=tahoe-lafs%2Ftahoe-lafs.git

test_cli: increase timeout on test_backup, since our dapper buildslave is really slow
---

diff --git a/src/allmydata/test/test_cli.py b/src/allmydata/test/test_cli.py
index b2b5dc8f..67e65a62 100644
--- a/src/allmydata/test/test_cli.py
+++ b/src/allmydata/test/test_cli.py
@@ -834,3 +834,9 @@ class Backup(SystemTestMixin, CLITestMixin, unittest.TestCase):
 
         return d
 
+    # on our old dapper buildslave, this test takes a long time (usually
+    # 130s), so we have to bump up the default 120s timeout. The create-alias
+    # and initial backup alone take 60s, probably because of the handful of
+    # dirnodes being created (RSA key generation). The backup between check4
+    # and check4a takes 6s, as does the backup before check4b.
+    test_backup.timeout = 300