diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-12-09 16:18:51 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-12-09 16:18:51 +0000 |
commit | 6d753c220dad05da6d3774aca83acbf741b18a2b (patch) | |
tree | e187b7ee2349fc68201309cc3df88482b6d418e4 /src/integration-tests/test_integration_bootstrap_and_connect.py.in | |
parent | c181e07637404d58fe0022234f61173098387dbf (diff) | |
download | gnunet-6d753c220dad05da6d3774aca83acbf741b18a2b.tar.gz gnunet-6d753c220dad05da6d3774aca83acbf741b18a2b.zip |
disconnect test
Diffstat (limited to 'src/integration-tests/test_integration_bootstrap_and_connect.py.in')
-rwxr-xr-x | src/integration-tests/test_integration_bootstrap_and_connect.py.in | 10 |
1 files changed, 5 insertions, 5 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 d698984cd..57184fc61 100755 --- a/src/integration-tests/test_integration_bootstrap_and_connect.py.in +++ b/src/integration-tests/test_integration_bootstrap_and_connect.py.in | |||
@@ -169,12 +169,12 @@ def check (): | |||
169 | client_core_connected = True | 169 | client_core_connected = True |
170 | vprintf ('Client core services is connected') | 170 | vprintf ('Client core services is connected') |
171 | 171 | ||
172 | if ((False == client_core_session_map) and (True == check_statistics ('./confs/c_bootstrap_server.conf', 'core', '# entries in session map',1))): | 172 | if ((False == server_core_session_map) and (True == check_statistics ('./confs/c_bootstrap_server.conf', 'core', '# entries in session map',1))): |
173 | client_core_session_map = True | 173 | server_core_session_map = True |
174 | vprintf ('Server core services is connected') | 174 | vprintf ('Server core services is connected') |
175 | 175 | ||
176 | if ((False == server_core_session_map) and (True == check_statistics ('./confs/c_no_nat_client.conf', 'core', '# entries in session map',1))): | 176 | if ((False == client_core_session_map) and (True == check_statistics ('./confs/c_no_nat_client.conf', 'core', '# entries in session map',1))): |
177 | server_core_session_map = True | 177 | client_core_session_map = True |
178 | vprintf ('Client core notifies about connected') | 178 | vprintf ('Client core notifies about connected') |
179 | 179 | ||
180 | if ((False == server_topology_connected) and (True == check_statistics ('./confs/c_bootstrap_server.conf', 'topology', '# peers connected',1))): | 180 | if ((False == server_topology_connected) and (True == check_statistics ('./confs/c_bootstrap_server.conf', 'topology', '# peers connected',1))): |
@@ -217,7 +217,7 @@ def check (): | |||
217 | print ('Client core was NOT connected') | 217 | print ('Client core was NOT connected') |
218 | if (server_core_connected == False): | 218 | if (server_core_connected == False): |
219 | print ('Server core was NOT connected') | 219 | print ('Server core was NOT connected') |
220 | if (server_core_session_map == False): | 220 | if (client_core_session_map == False): |
221 | print ('Client core sessions did NOT increase') | 221 | print ('Client core sessions did NOT increase') |
222 | if (server_core_session_map == False): | 222 | if (server_core_session_map == False): |
223 | print ('Server core sessions did NOT increase') | 223 | print ('Server core sessions did NOT increase') |