Skip to content

Commit 92743c3

Browse files
committed
Fix expectations in functional tests
1 parent 5a1562f commit 92743c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/functional/p2p_ping.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def run_test(self):
8181

8282
self.log.info('Reply without ping')
8383
with self.nodes[0].assert_debug_log([
84-
'unexpected ping response received from peer 1',
84+
'Unexpected ping response received from peer 1',
8585
]):
8686
no_pong_node.send_and_ping({
8787
"ping_response": {
@@ -92,7 +92,7 @@ def run_test(self):
9292

9393
self.log.info('Reply with wrong nonce does not cancel ping')
9494
assert 'ping_request' not in no_pong_node.last_message
95-
with self.nodes[0].assert_debug_log(['wrong nonce in ping response from peer 1']):
95+
with self.nodes[0].assert_debug_log(['Wrong nonce in ping response from peer 1']):
9696
# mock time PING_INTERVAL ahead to trigger node into sending a ping
9797
self.mock_forward(PING_INTERVAL)
9898
no_pong_node.wait_until(
@@ -120,7 +120,7 @@ def run_test(self):
120120
assert 'ping_request' not in no_pong_node.last_message
121121
self.mock_forward(PING_INTERVAL)
122122
no_pong_node.wait_until(lambda: 'ping_request' in no_pong_node.last_message)
123-
with self.nodes[0].assert_debug_log(['ping check: dead peer detected: 1']):
123+
with self.nodes[0].assert_debug_log(['Ping check: dead peer detected: 1']):
124124
self.mock_forward(TIMEOUT_INTERVAL)
125125
no_pong_node.wait_for_disconnect()
126126

0 commit comments

Comments
 (0)