diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-04-03 13:22:45 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-04-03 13:22:45 +0000 |
commit | 76eeabb0a763523d4e13be65c74165988707241e (patch) | |
tree | 45fbe6bd2f35dd83bcb32f5ecb0663cad423b556 /src/integration-tests/test_integration_connection_value.py.in | |
parent | 766391abef01aa3106c9abc447a07588cc4cae93 (diff) | |
download | gnunet-76eeabb0a763523d4e13be65c74165988707241e.tar.gz gnunet-76eeabb0a763523d4e13be65c74165988707241e.zip |
- changes
Diffstat (limited to 'src/integration-tests/test_integration_connection_value.py.in')
-rwxr-xr-x | src/integration-tests/test_integration_connection_value.py.in | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/integration-tests/test_integration_connection_value.py.in b/src/integration-tests/test_integration_connection_value.py.in index cb9a1378e..29b1dfaa5 100755 --- a/src/integration-tests/test_integration_connection_value.py.in +++ b/src/integration-tests/test_integration_connection_value.py.in | |||
@@ -65,16 +65,18 @@ def fail_cont (check): | |||
65 | def check_connect (): | 65 | def check_connect (): |
66 | check = Check (test) | 66 | check = Check (test) |
67 | check.add (EqualStatisticsCondition (client, 'transport', '# peers connected', client, 'core', '# neighbour entries allocated')) | 67 | check.add (EqualStatisticsCondition (client, 'transport', '# peers connected', client, 'core', '# neighbour entries allocated')) |
68 | #check.add (EqualStatisticsCondition (client, 'transport', '# peers connected', client, 'core', '# entries in session map')) | 68 | check.add (EqualStatisticsCondition (client, 'transport', '# peers connected', client, 'core', '# entries in session map')) |
69 | #check.add (EqualStatisticsCondition (client, 'core', '# neighbour entries allocated', client, 'core', '# entries in session map')) | 69 | check.add (EqualStatisticsCondition (client, 'core', '# neighbour entries allocated', client, 'core', '# entries in session map')) |
70 | 70 | ||
71 | while True: | 71 | while True: |
72 | res = check.run_once (None, None) | 72 | time.sleep (5) |
73 | print "Values are equal" | 73 | check.reset() |
74 | check.evaluate (False) | 74 | res = check.run_once (None, None) |
75 | if (False == res): | 75 | print "Values are equal" |
76 | break | 76 | check.evaluate (False) |
77 | time.sleep (1) | 77 | #if (False == res): |
78 | # break | ||
79 | |||
78 | 80 | ||
79 | # | 81 | # |
80 | # Test execution | 82 | # Test execution |