mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 02:49:43 +00:00
Addon startup waits for healthy (#4376)
* Addon startup waits for healthy * fix import for pylint * wait_for to 5 in tests * Adjust tests to simplify async tasks * Remove wait_boot time from addons.boot tests * Eliminate async task race conditions in tests
This commit is contained in:
@@ -189,7 +189,7 @@ async def test_addon_run_docker_error(
|
||||
):
|
||||
"""Test docker error when addon is run."""
|
||||
await coresys.dbus.timedate.connect(coresys.dbus.bus)
|
||||
coresys.docker.docker.containers.create.side_effect = NotFound("Missing")
|
||||
coresys.docker.containers.create.side_effect = NotFound("Missing")
|
||||
docker_addon = get_docker_addon(
|
||||
coresys, addonsdata_system, "basic-addon-config.json"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user