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 /src/integration-tests/test_integration_disconnect_nat.py.in | |
parent | a41debd9d80624723be7de89899c8c2b7ebb9296 (diff) | |
download | gnunet-341078a13b53786e3e7890f871b5f66965dd13d0.tar.gz gnunet-341078a13b53786e3e7890f871b5f66965dd13d0.zip |
delay start of client to allow the server to start on slow systems
Diffstat (limited to 'src/integration-tests/test_integration_disconnect_nat.py.in')
-rwxr-xr-x | src/integration-tests/test_integration_disconnect_nat.py.in | 4 |
1 files changed, 4 insertions, 0 deletions
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): |