aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/check.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check.py b/tests/check.py
index 645b7ae..3c77dc4 100644
--- a/tests/check.py
+++ b/tests/check.py
@@ -1070,6 +1070,7 @@ def server_links_refused(aup, pure, work):
said += [json.loads(line) for line in lines if line.startswith('{"link"')]
assert len(said) == 1, said
assert stats['a']['link_packets'] <= 8 and stats['a']['link_records'] <= 4, stats['a']
+ assert stats['a']['link_refused'] >= 2 and stats['b']['listener_refused'] >= 2, (stats['a'], stats['b'])
return {'said': said[0]['error'], 'packets': stats['a']['link_packets']}