fixing some timeouts
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 19 Dec 2011 15:02:56 +0000 (15:02 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 19 Dec 2011 15:02:56 +0000 (15:02 +0000)
src/integration-tests/test_integration_clique.py.in
src/integration-tests/test_integration_disconnect.py.in
src/integration-tests/test_integration_restart.py.in

index faf66a7d2e0fb52d42a99cc61727150c0c32d72c..5cd8d9bb538df7d8166d3c1fb5efb1c8287b6b6f 100755 (executable)
@@ -42,7 +42,7 @@ from gnunet_testing import *
 
 testname = "test_integration_clique"
 verbose = True
-check_timeout = 120
+check_timeout = 30
 
 
 def cleanup ():
index d055b69074a3fe0b923ec1b048f1f96023336feb..537ae86bfbb7bd54fa96d17b3bb00b4ea932b7d1 100755 (executable)
@@ -103,7 +103,7 @@ def check_connect ():
   check.add (StatisticsCondition (server, 'topology', '# peers connected',1))
   check.add (StatisticsCondition (server, 'fs', '# peers connected',1))  
   
-  check.run_blocking (10, success_connect_cont, fail_connect_cont)
+  check.run_blocking (check_timeout, success_connect_cont, fail_connect_cont)
 
 # 
 # Test execution
index f8becb66a417021593f8e0ee3dc51da93c2d8386..6a5c2ba4f6661d66c55748b537b4a29a112a339d 100755 (executable)
@@ -95,7 +95,7 @@ def success_connect_cont (check):
        check.add (StatisticsCondition (server, 'topology', '# peers connected',1))
        check.add (StatisticsCondition (server, 'fs', '# peers connected',1))  
        
-       check.run_blocking (10, success_restart_cont, fail_restart_cont)
+       check.run_blocking (check_timeout, success_restart_cont, fail_restart_cont)
 
 
 def fail_connect_cont (check):    
@@ -118,7 +118,7 @@ def check_connect ():
        check.add (StatisticsCondition (server, 'topology', '# peers connected',1))
        check.add (StatisticsCondition (server, 'fs', '# peers connected',1))  
        
-       check.run_blocking (10, success_connect_cont, fail_connect_cont)
+       check.run_blocking (check_timeout, success_connect_cont, fail_connect_cont)
 
 # 
 # Test execution