Disable flaky modbus test
This commit is contained in:
parent
9f3b1a8d44
commit
daf3b0f182
1 changed files with 2 additions and 0 deletions
|
@ -863,6 +863,7 @@ async def test_shutdown(
|
|||
assert caplog.text == ""
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="disabled because the test is flapping")
|
||||
@pytest.mark.parametrize(
|
||||
"do_config",
|
||||
[
|
||||
|
@ -884,6 +885,7 @@ async def test_stop_restart(
|
|||
|
||||
caplog.set_level(logging.INFO)
|
||||
entity_id = f"{SENSOR_DOMAIN}.{TEST_ENTITY_NAME}".replace(" ", "_")
|
||||
# The assert below is sometimes failing because the state is unavailable
|
||||
assert hass.states.get(entity_id).state == STATE_UNKNOWN
|
||||
hass.states.async_set(entity_id, 17)
|
||||
await hass.async_block_till_done()
|
||||
|
|
Loading…
Add table
Reference in a new issue