summaryrefslogtreecommitdiff
path: root/service/test/integration
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-11-18 14:43:14 -0200
committerDuda Dornelles <ddornell@thoughtworks.com>2014-11-18 18:02:34 -0200
commit85ca2c1b452a6159c9df769a12f17e8098f1ff7c (patch)
tree763edf4dfadea6b7757f8dc24ba9e166867c7d4c /service/test/integration
parentc0b7c92b41eb7118a349cc91990d201d22816cad (diff)
Increasing timeout for deferred tests so they run in slower boxes too
Diffstat (limited to 'service/test/integration')
-rw-r--r--service/test/integration/search_test.py8
1 files changed, 4 insertions, 4 deletions
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'])