[tor-commits] [ooni-probe/master] Increase the timeout of the test
art at torproject.org
art at torproject.org
Fri Jan 13 12:39:57 UTC 2017
commit 151a7e3dfac184a1aae6d241d1a8770758e7887e
Author: Arturo Filastò <arturo at filasto.net>
Date: Tue Nov 22 19:35:44 2016 +0000
Increase the timeout of the test
---
ooni/nettests/blocking/whatsapp.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ooni/nettests/blocking/whatsapp.py b/ooni/nettests/blocking/whatsapp.py
index 9a48694..c8b16c8 100644
--- a/ooni/nettests/blocking/whatsapp.py
+++ b/ooni/nettests/blocking/whatsapp.py
@@ -271,6 +271,10 @@ class WhatsappTest(httpt.HTTPTest, dnst.DNSTest):
followRedirects = True
usageOptions = UsageOptions
+ def setUp(self):
+ # We need more time to ensure all the endpoints can timeout
+ self.timeout = 16 * 20
+
@defer.inlineCallbacks
def test_registration_server(self):
self.report['registratison_server_failure'] = None
More information about the tor-commits
mailing list