diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-07 12:21:12 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-09-07 12:21:12 +0000 |
commit | 9f81c1a85bb5485bdd2b4dd5a95fc02d2f6deeb4 (patch) | |
tree | 2bda3f62a5d8fd8b35e8e88b36340ca66c86a185 /src/integration-tests | |
parent | 8480e8a58101c08e70db57b791cbfaa2683844d8 (diff) | |
download | gnunet-9f81c1a85bb5485bdd2b4dd5a95fc02d2f6deeb4.tar.gz gnunet-9f81c1a85bb5485bdd2b4dd5a95fc02d2f6deeb4.zip |
- changes
Diffstat (limited to 'src/integration-tests')
-rwxr-xr-x | src/integration-tests/test_mem_consumption.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/integration-tests/test_mem_consumption.py b/src/integration-tests/test_mem_consumption.py index d70da5493..f4c315955 100755 --- a/src/integration-tests/test_mem_consumption.py +++ b/src/integration-tests/test_mem_consumption.py | |||
@@ -105,7 +105,7 @@ def run (): | |||
105 | global client | 105 | global client |
106 | global client2 | 106 | global client2 |
107 | restarts = 0 | 107 | restarts = 0 |
108 | iterations = 4 | 108 | iterations = 10000 |
109 | success = False | 109 | success = False |
110 | 110 | ||
111 | test = Test ('test_memory_consumption', verbose) | 111 | test = Test ('test_memory_consumption', verbose) |
@@ -115,7 +115,8 @@ def run (): | |||
115 | client.start(); | 115 | client.start(); |
116 | 116 | ||
117 | while (restarts < iterations): | 117 | while (restarts < iterations): |
118 | print 'Iteration #' + str (restarts) + ' of ' + str (restarts) | 118 | print 'Iteration #' + str (restarts) + ' of ' + str (iterations) |
119 | print '---------------------' | ||
119 | restarts += 1 | 120 | restarts += 1 |
120 | client2 = Peer(test, './confs/c_no_nat_client_2.conf'); | 121 | client2 = Peer(test, './confs/c_no_nat_client_2.conf'); |
121 | client2.start(); | 122 | client2.start(); |
@@ -125,7 +126,7 @@ def run (): | |||
125 | test.p ('All peers connected, stopping client2') | 126 | test.p ('All peers connected, stopping client2') |
126 | client2.stop () | 127 | client2.stop () |
127 | check_disconnect () | 128 | check_disconnect () |
128 | test.p ('Peer disconnected') | 129 | test.p ('Peer disconnected\n') |
129 | 130 | ||
130 | print str (iterations) + " Iteration executed" | 131 | print str (iterations) + " Iteration executed" |
131 | server.stop () | 132 | server.stop () |