1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00
This commit is contained in:
J. Nick Koston
2025-07-06 19:59:11 -05:00
parent 90fcb5fbcd
commit dc8714c277
2 changed files with 5 additions and 2 deletions

View File

@@ -74,9 +74,9 @@ async def test_scheduler_rapid_cancellation(
test_complete_future.set_exception(Exception(f"Crash detected: {line}"))
return
# Check for completion
# Check for completion - wait for final message after all stats are logged
if (
"Rapid cancellation test complete" in line
"Test finished - all statistics reported" in line
and not test_complete_future.done()
):
test_complete_future.set_result(None)