← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~clinton-fung/launchpad:fix-magic-number-in-timeout-increase-test into launchpad:master

 

Clinton Fung has proposed merging ~clinton-fung/launchpad:fix-magic-number-in-timeout-increase-test into launchpad:master.

Commit message:
Change the corresponding magic number in the test, that was changed to increase the timeout waiting for downloads commissioned by buildd-manager.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~clinton-fung/launchpad/+git/launchpad/+merge/481479

Change the corresponding magic number in the test, that was changed to increase the timeout waiting for downloads commissioned by buildd-manager.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~clinton-fung/launchpad:fix-magic-number-in-timeout-increase-test into launchpad:master.
diff --git a/lib/lp/buildmaster/tests/test_interactor.py b/lib/lp/buildmaster/tests/test_interactor.py
index d209b41..7c0fce3 100644
--- a/lib/lp/buildmaster/tests/test_interactor.py
+++ b/lib/lp/buildmaster/tests/test_interactor.py
@@ -792,7 +792,7 @@ class TestWorkerTimeouts(TestCase):
     def test_timeout_ensurepresent(self):
         return self.assertCancelled(
             self.worker.ensurepresent(None, None, None, None),
-            config.builddmaster.socket_timeout * 5,
+            config.builddmaster.socket_timeout * 20,
         )
 
     def test_timeout_build(self):