def METHOD_NAME() -> None:
    connection = mock.Mock()
    connection.execute.side_effect = ClickhouseError(
        "some error", extra_data={"code": 1}
    )
    pool = ClickhousePool("host", 100, "test", "test", "test")
    pool.pool = queue.LifoQueue(1)
    pool.pool.put(connection, block=False)
    with pytest.raises(ClickhouseError):
        pool.execute_robust("SELECT something")
    connection.execute.assert_called_once()
    connection.reset_mock(side_effect=True)
    connection.execute.side_effect = ClickhouseError(
        "some error",
        code=errors.ErrorCodes.TOO_MANY_SIMULTANEOUS_QUERIES,
    )
    with pytest.raises(ClickhouseError):
        pool.execute_robust("SELECT something")
    assert connection.execute.call_count == 3, "Expected three attempts"