Remove async_late_forward_entry_setups
and instead implicitly hold the lock (#119088)
* Refactor config entry forwards to implictly obtain the lock instead of explictly This is a bit of a tradeoff to not need async_late_forward_entry_setups The downside is we can no longer detect non-awaited plastform setups as we will always implicitly obtain the lock instead of explictly. Note, this PR is incomplete and is only for discussion purposes at this point * preen * cover * cover * restore check for non-awaited platform setup * cleanup * fix missing word * make non-awaited test safer
This commit is contained in:
parent
4e121fcbe8
commit
dbd3147c9b
18 changed files with 381 additions and 188 deletions
|
@ -13,6 +13,12 @@ IGNORE_UNCAUGHT_EXCEPTIONS = [
|
|||
"tests.helpers.test_event",
|
||||
"test_track_point_in_time_repr",
|
||||
),
|
||||
(
|
||||
# This test explicitly throws an uncaught exception
|
||||
# and should not be removed.
|
||||
"tests.test_config_entries",
|
||||
"test_config_entry_unloaded_during_platform_setups",
|
||||
),
|
||||
(
|
||||
# This test explicitly throws an uncaught exception
|
||||
# and should not be removed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue