You don't actually need to run tests to install it. You could run with the 
-DskipTests flag: mvn install -DskipTests

If you want to apply the patch, use: patch -p0 < patchfile

-Flavio

On 04 Jun 2014, at 19:45, Jaln <[email protected]> wrote:

> Hi Ivan,
> Do I need to apply this patch to install bookkeeper on my ubuntu?
> if so, plz tell me how to apply it,
> 
> Thanks,
> Jaln
> 
> 
> On Wed, Jun 4, 2014 at 7:11 AM, Ivan Kelly (JIRA) <[email protected]> wrote:
> 
>> 
>>    [
>> https://issues.apache.org/jira/browse/BOOKKEEPER-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017713#comment-14017713
>> ]
>> 
>> Ivan Kelly commented on BOOKKEEPER-767:
>> ---------------------------------------
>> 
>> happens to me on fedora 19 and debian wheezy.
>> 
>>> Allow loopback in tests
>>> -----------------------
>>> 
>>>                Key: BOOKKEEPER-767
>>>                URL:
>> https://issues.apache.org/jira/browse/BOOKKEEPER-767
>>>            Project: Bookkeeper
>>>         Issue Type: Bug
>>>           Reporter: Ivan Kelly
>>>           Assignee: Ivan Kelly
>>>            Fix For: 4.3.0, 4.2.3
>>> 
>>>        Attachments:
>> 0002-BOOKKEEPER-767-Allow-loopback-in-tests.trunk.patch,
>> 0003-BOOKKEEPER-767-Allow-loopback-in-tests.branch42.patch
>>> 
>>> 
>>> It's not uncommon to have something like the following in /etc/hosts:
>>> {quote}
>>> 127.0.1.1 <myhostname>
>>> {quote}
>>> This breaks the bookkeeper tests because getAllowLoopback() defaults to
>> false. We should set allow loopback to true to allow tests to run out of
>> the box on linux machines.
>> 
>> 
>> 
>> --
>> This message was sent by Atlassian JIRA
>> (v6.2#6252)
>> 
> 
> 
> 
> -- 
> 
> Genius only means hard-working all one's life

Reply via email to