diff options
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 |