def METHOD_NAME(publish_or_dump, fake_node, adaptive_timeout_store):
    with adaptive_timeout(operation=Operations.SOFT_TIMEOUT, node=fake_node, timeout=1, stats_storage=adaptive_timeout_store) as timeout:
        assert timeout == 1
        time.sleep(0.2)
    publish_or_dump.assert_not_called()
    # still we store the metrics even when there's no timeout
    assert MemoryAdaptiveTimeoutStore().get(operation="SOFT_TIMEOUT", timeout_occurred=False)