mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Attempt to fix flaky bootstrap test (#142536)
This commit is contained in:
parent
3ca1f07cc4
commit
e7c2e86c93
@ -703,8 +703,8 @@ async def test_setup_hass_takes_longer_than_log_slow_startup(
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
with (
|
with (
|
||||||
patch.object(bootstrap, "LOG_SLOW_STARTUP_INTERVAL", 0.1),
|
patch.object(bootstrap, "LOG_SLOW_STARTUP_INTERVAL", 0.005),
|
||||||
patch.object(bootstrap, "SLOW_STARTUP_CHECK_INTERVAL", 0.05),
|
patch.object(bootstrap, "SLOW_STARTUP_CHECK_INTERVAL", 0.005),
|
||||||
patch(
|
patch(
|
||||||
"homeassistant.components.frontend.async_setup",
|
"homeassistant.components.frontend.async_setup",
|
||||||
side_effect=_async_setup_that_blocks_startup,
|
side_effect=_async_setup_that_blocks_startup,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user