def METHOD_NAME(self, tmp_path):
    file_path = tmp_path / "wait_for_log_lines_1.log"
    node = DummyNode(log_path=file_path)
    lines = ["start", "cde", "start"]  # no start line provided
    t = threading.Thread(target=write_to_file, args=(file_path, lines))
    t.daemon = True
    file_path.touch()
    with pytest.raises(TimeoutError, match="timeout occurred while waiting for end log line"), \
            wait_for_log_lines(node=node, start_line_patterns=["start"], end_line_patterns=["end"], start_timeout=0.1, end_timeout=0.3):
        t.start()