Fix test_dump_log_object timeouts in the CI (#132234)
parent
bd40e1e7df
commit
719cbd3070
|
@ -211,9 +211,10 @@ async def test_dump_log_object(
|
|||
|
||||
assert hass.services.has_service(DOMAIN, SERVICE_DUMP_LOG_OBJECTS)
|
||||
|
||||
await hass.services.async_call(
|
||||
DOMAIN, SERVICE_DUMP_LOG_OBJECTS, {CONF_TYPE: "DumpLogDummy"}, blocking=True
|
||||
)
|
||||
with patch("objgraph.by_type", return_value=[obj1, obj2]):
|
||||
await hass.services.async_call(
|
||||
DOMAIN, SERVICE_DUMP_LOG_OBJECTS, {CONF_TYPE: "DumpLogDummy"}, blocking=True
|
||||
)
|
||||
|
||||
assert "<DumpLogDummy success>" in caplog.text
|
||||
assert "Failed to serialize" in caplog.text
|
||||
|
|
Loading…
Reference in New Issue