mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Fix flaky recorder test_commit_before_commits_pending_writes (#186342)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
7ff0e7fbde
commit
553e7ff2b8
@@ -2727,10 +2727,7 @@ async def test_commit_before_commits_pending_writes(
|
||||
recorder.CONF_COMMIT_INTERVAL: 60,
|
||||
}
|
||||
|
||||
recorder_helper.async_initialize_recorder(hass)
|
||||
hass.async_create_task(async_setup_recorder_instance(hass, config))
|
||||
await async_wait_recorder(hass)
|
||||
instance = get_instance(hass)
|
||||
instance = await async_setup_recorder_instance(hass, config)
|
||||
assert instance.commit_interval == 60
|
||||
verify_states_in_queue_future = hass.loop.create_future()
|
||||
verify_session_commit_future = hass.loop.create_future()
|
||||
|
||||
Reference in New Issue
Block a user