[tor-commits] [stem/master] Bump test for TAKEOWNERSHIP termination SLA

atagar at torproject.org atagar at torproject.org
Thu Jan 16 01:40:32 UTC 2020


commit e64a118db8d789827183b6b66a6aa6c535868727
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Jan 15 17:37:44 2020 -0800

    Bump test for TAKEOWNERSHIP termination SLA
    
    Tor checks for the owning process every fifteen seconds, so this test's timeout
    is way too low...
    
      https://github.com/torproject/stem/issues/52
    
    Puzzling that this passes reliably for me. With that poll rate this should be
    failing far more often...
---
 test/integ/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/integ/process.py b/test/integ/process.py
index e40c501a..274a8ec9 100644
--- a/test/integ/process.py
+++ b/test/integ/process.py
@@ -631,7 +631,7 @@ class TestProcess(unittest.TestCase):
       # give tor a few seconds to quit
       start_time = time.time()
 
-      while time.time() - start_time < 5:
+      while time.time() - start_time < 20:
         if tor_process.poll() == 0:
           return  # tor exited
 



More information about the tor-commits mailing list