[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008083#comment-14008083
 ] 

Flavio Junqueira commented on BOOKKEEPER-762:
---------------------------------------------

This is a bit odd because now it passes consistently. I guess there has been 
some issue with my network stack. I wait a bit longer to see if I observe this 
again and otherwise I'll mark it as not an issue.

For the record, the return value of cookie.isBookieHostCreatedFromIp() is false.

> CookieTest failure
> ------------------
>
>                 Key: BOOKKEEPER-762
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-762
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Flavio Junqueira
>
> I'm getting this test failure in trunk consistently:
> {noformat}
> -------------------------------------------------------------------------------
> Test set: org.apache.bookkeeper.bookie.CookieTest
> -------------------------------------------------------------------------------
> Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.208 sec 
> <<< FAILURE!
> testRestartWithIpAddressAsBookieID(org.apache.bookkeeper.bookie.CookieTest)  
> Time elapsed: 0.155 sec  <<< FAILURE!
> java.lang.AssertionError: Fails to recognize bookie which was started with 
> HostName as ID
>         at org.junit.Assert.fail(Assert.java:91)
>         at org.junit.Assert.assertTrue(Assert.java:43)
>         at 
> org.apache.bookkeeper.bookie.CookieTest.testRestartWithIpAddressAsBookieID(CookieTest.java:405)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
>         at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
>         at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
>         at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
>         at 
> org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to