Skip to content

Commit a7dd150

Browse files
authored
Merge branch 'feat/hitless-upgrade-sync-standalone' into hitless_handshake
2 parents 67aee8c + 83f84cd commit a7dd150

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_maintenance_events.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,6 @@ def test_handle_event_failing_over(self):
587587
self.handler.handle_event(event)
588588
mock_handle.assert_called_once_with(MaintenanceState.MAINTENANCE)
589589

590-
591590
def test_handle_event_failed_over(self):
592591
"""Test handling of NodeFailedOverEvent."""
593592
event = NodeFailedOverEvent(id=1)

tests/test_maintenance_events_handling.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def send(self, data):
198198
# FAILING_OVER push message before SET key_receive_failing_over_X response
199199
# Format: >3\r\n$12\r\nFAILING_OVER\r\n:1\r\n:10\r\n (3 elements: FAILING_OVER, id, ttl)
200200
failing_over_push = ">3\r\n$12\r\nFAILING_OVER\r\n:1\r\n:10\r\n"
201+
201202
response = failing_over_push.encode() + response
202203
elif (
203204
b"key_receive_failed_over_" in data
@@ -1809,7 +1810,7 @@ def test_migrating_after_moving_multiple_proxies(self, pool_class):
18091810
conn_event_handler.handle_event(NodeMigratingEvent(id=3, ttl=1))
18101811
# validate connection is in MIGRATING state
18111812
assert conn.maintenance_state == MaintenanceState.MAINTENANCE
1812-
1813+
18131814
assert conn.socket_timeout == self.config.relax_timeout
18141815

18151816
# Send MIGRATED event to con with ip = key3

0 commit comments

Comments
 (0)