From 85ca2c1b452a6159c9df769a12f17e8098f1ff7c Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Tue, 18 Nov 2014 14:43:14 -0200 Subject: Increasing timeout for deferred tests so they run in slower boxes too --- service/test/integration/search_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'service/test/integration') diff --git a/service/test/integration/search_test.py b/service/test/integration/search_test.py index 95b510e6..0a68ed5c 100644 --- a/service/test/integration/search_test.py +++ b/service/test/integration/search_test.py @@ -23,7 +23,7 @@ class SearchTest(SoledadTestBase): def setUp(self): SoledadTestBase.setUp(self) - @deferred(timeout=5) + @deferred(timeout=120) def test_that_tags_returns_all_tags(self): input_mail = MailBuilder().with_tags(['important']).build_input_mail() self.add_mail_to_inbox(input_mail) @@ -40,7 +40,7 @@ class SearchTest(SoledadTestBase): d.addCallback(_assert) return d - @deferred(timeout=5) + @deferred(timeout=120) def test_that_tags_are_filtered_by_query(self): input_mail = MailBuilder().with_tags(['ateu', 'catoa', 'luat', 'zuado']).build_input_mail() self.add_mail_to_inbox(input_mail) @@ -57,7 +57,7 @@ class SearchTest(SoledadTestBase): d.addCallback(_assert) return d - @deferred(timeout=5) + @deferred(timeout=120) def test_that_default_tags_are_ignorable(self): input_mail = MailBuilder().with_tags(['sometag']).build_input_mail() self.add_mail_to_inbox(input_mail) @@ -71,7 +71,7 @@ class SearchTest(SoledadTestBase): d.addCallback(_assert) return d - @deferred(timeout=5) + @deferred(timeout=300) def test_tags_count(self): self.add_multiple_to_mailbox(num=10, mailbox='inbox', flags=['\\Recent']) self.add_multiple_to_mailbox(num=5, mailbox='inbox', flags=['\\Seen']) -- cgit v1.2.3