Skip to content

fix: wait for device readiness in reconnect test - #1071

Merged
allenporter merged 1 commit into
Python-roborock:mainfrom
hCoureau:fix/reconnect-test-readiness
Nov 22, 2026
Merged

allenporter merged 1 commit into
Python-roborock:mainfrom
hCoureau:fix/reconnect-test-readiness

Conversation

@hCoureau

Copy link
Copy Markdown
Contributor

Split out of #1033 following review feedback, as it touches an unrelated subsystem.

test_device_manager's reconnect test could fail intermittently because self._channel.subscribe() sets is_connected before v1_properties.start() completes and the ready callbacks fire. The test now waits for device readiness, with a try...finally so the manager is always closed.

🤖 Generated with Claude Code

@allenporter
allenporter merged commit 223d18f into Python-roborock:main Nov 22, 2026
9 checks passed
@hCoureau
hCoureau deleted the fix/reconnect-test-readiness branch November 22, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants