[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Increase the timeout of the test



commit 151a7e3dfac184a1aae6d241d1a8770758e7887e
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits