async def METHOD_NAME():
    adapt = MyAdaptive(interval="5 ms")
    assert not adapt.plan
    for i in [0, 3, 1]:
        start = time()
        adapt._target = i
        while len(adapt.plan) != i:
            await asyncio.sleep(0.001)
            assert time() < start + 2
    adapt.stop()
    await asyncio.sleep(0.05)
    adapt._target = 10
    await asyncio.sleep(0.02)
    assert len(adapt.plan) == 1  # last value from before, unchanged