Skip to content

Commit 6c5f669

Browse files
committed
Code review fix. Set self.delay_count=2
1 parent 5d6d837 commit 6c5f669

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/system_tests_interior_sync_up.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def __init__(self, host_a, host_b, inter_router_port):
9696
self.poll_timer = None
9797
self.delay_timer = None
9898
self.count = 1000
99-
self.delay_count = 12 # This should be larger than MAX_KEPT_DELTAS in mobile.py
99+
self.delay_count = 2 # This should be larger than MAX_KEPT_DELTAS in mobile.py
100100
self.inter_router_port = inter_router_port
101101

102102
self.receivers = []
@@ -218,11 +218,9 @@ def on_message(self, event):
218218

219219
self.last_action = "Got a query response with %d of the expected addresses" % (got_count)
220220

221-
print(f"got_count={got_count}, self.count={self.count}")
222221
if got_count == self.count:
223222
self.fail(None)
224223
else:
225-
print(f"self.num_attempts={self.num_attempts}, self.max_attempts={self.max_attempts}")
226224
if self.num_attempts < self.max_attempts:
227225
self.poll_timer = self.reactor.schedule(5, PollTimeout(self))
228226
self.num_attempts += 1

0 commit comments

Comments
 (0)