diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-19 14:22:54 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-19 14:22:54 +0000 |
commit | 341078a13b53786e3e7890f871b5f66965dd13d0 (patch) | |
tree | 44e537427e4e283ad5e4f92e282ff9c41e0925d8 | |
parent | a41debd9d80624723be7de89899c8c2b7ebb9296 (diff) | |
download | gnunet-341078a13b53786e3e7890f871b5f66965dd13d0.tar.gz gnunet-341078a13b53786e3e7890f871b5f66965dd13d0.zip |
delay start of client to allow the server to start on slow systems
5 files changed, 20 insertions, 0 deletions
diff --git a/src/integration-tests/test_integration_bootstrap_and_connect.py.in b/src/integration-tests/test_integration_bootstrap_and_connect.py.in index 1ba4c3c59..c3e2da73d 100755 --- a/src/integration-tests/test_integration_bootstrap_and_connect.py.in +++ b/src/integration-tests/test_integration_bootstrap_and_connect.py.in | |||
@@ -152,6 +152,10 @@ def run (): | |||
152 | client.stop () | 152 | client.stop () |
153 | cleanup () | 153 | cleanup () |
154 | sys.exit(success) | 154 | sys.exit(success) |
155 | |||
156 | # Give the server time to start | ||
157 | time.sleep(5) | ||
158 | |||
155 | if (True != client.start()): | 159 | if (True != client.start()): |
156 | print 'Failed to start client' | 160 | print 'Failed to start client' |
157 | if (None != server): | 161 | if (None != server): |
diff --git a/src/integration-tests/test_integration_disconnect.py.in b/src/integration-tests/test_integration_disconnect.py.in index cda1be3cc..38bc7b059 100755 --- a/src/integration-tests/test_integration_disconnect.py.in +++ b/src/integration-tests/test_integration_disconnect.py.in | |||
@@ -153,6 +153,10 @@ def run (): | |||
153 | server.stop () | 153 | server.stop () |
154 | cleanup () | 154 | cleanup () |
155 | sys.exit(success) | 155 | sys.exit(success) |
156 | |||
157 | # Give the server time to start | ||
158 | time.sleep(5) | ||
159 | |||
156 | if (True != client.start()): | 160 | if (True != client.start()): |
157 | print 'Failed to start client' | 161 | print 'Failed to start client' |
158 | if (None != server): | 162 | if (None != server): |
diff --git a/src/integration-tests/test_integration_disconnect_nat.py.in b/src/integration-tests/test_integration_disconnect_nat.py.in index 350bfbe07..0130c618d 100755 --- a/src/integration-tests/test_integration_disconnect_nat.py.in +++ b/src/integration-tests/test_integration_disconnect_nat.py.in | |||
@@ -157,6 +157,10 @@ def run (): | |||
157 | server.stop () | 157 | server.stop () |
158 | cleanup () | 158 | cleanup () |
159 | sys.exit(success) | 159 | sys.exit(success) |
160 | |||
161 | # Give the server time to start | ||
162 | time.sleep(5) | ||
163 | |||
160 | if (True != nat_client.start()): | 164 | if (True != nat_client.start()): |
161 | print 'Failed to start nat_client' | 165 | print 'Failed to start nat_client' |
162 | if (None != server): | 166 | if (None != server): |
diff --git a/src/integration-tests/test_integration_reconnect.py.in b/src/integration-tests/test_integration_reconnect.py.in index b70ac85f2..5a38b3f63 100755 --- a/src/integration-tests/test_integration_reconnect.py.in +++ b/src/integration-tests/test_integration_reconnect.py.in | |||
@@ -188,6 +188,10 @@ def run (): | |||
188 | client.stop () | 188 | client.stop () |
189 | cleanup () | 189 | cleanup () |
190 | sys.exit(success) | 190 | sys.exit(success) |
191 | |||
192 | # Give the server time to start | ||
193 | time.sleep(5) | ||
194 | |||
191 | if (True != client.start()): | 195 | if (True != client.start()): |
192 | print 'Failed to start client' | 196 | print 'Failed to start client' |
193 | if (None != server): | 197 | if (None != server): |
diff --git a/src/integration-tests/test_integration_reconnect_nat.py.in b/src/integration-tests/test_integration_reconnect_nat.py.in index 34c110e72..726b00390 100755 --- a/src/integration-tests/test_integration_reconnect_nat.py.in +++ b/src/integration-tests/test_integration_reconnect_nat.py.in | |||
@@ -188,6 +188,10 @@ def run (): | |||
188 | client.stop () | 188 | client.stop () |
189 | cleanup () | 189 | cleanup () |
190 | sys.exit(success) | 190 | sys.exit(success) |
191 | |||
192 | # Give the server time to start | ||
193 | time.sleep(5) | ||
194 | |||
191 | if (True != client.start()): | 195 | if (True != client.start()): |
192 | print 'Failed to start client' | 196 | print 'Failed to start client' |
193 | if (None != server): | 197 | if (None != server): |