[ https://issues.apache.org/jira/browse/BOOKKEEPER-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017704#comment-14017704 ]
Ivan Kelly commented on BOOKKEEPER-767: --------------------------------------- on a mac? It never happened me when I used a mac, seemed to automatically return the external ip. It did mean that moving networks while running tests caused failures though. Also, the branch4.2 and trunk patches look very different, since trunk has BKTestConfiguration, which branch4.2 doesn't. > 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)