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

Flavio Junqueira commented on BOOKKEEPER-689:
---------------------------------------------

yeah, this is annoying. I have tried to reproduce it but I also couldn't. There 
was no change of network when I ran it, so there is nothing trivial I can think 
of to associate it to. 

I have one question about the test case, though. I would expect the test to 
fail if the close can't complete cleanly, but we are really not propagating up 
any error in the case some component doesn't shutdown cleanly. Do we care at 
all if it doesn't shut down cleanly?

> BookKeeperTest failure
> ----------------------
>
>                 Key: BOOKKEEPER-689
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-689
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Flavio Junqueira
>            Assignee: Sijie Guo
>         Attachments: BOOKKEEPER-689.diff, 
> org.apache.bookkeeper.client.BookKeeperTest-output.txt, 
> TEST-org.apache.bookkeeper.client.BookKeeperTest.xml
>
>
> Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 49.385 sec 
> <<< FAILURE!
> testCloseDuringOp[1](org.apache.bookkeeper.client.BookKeeperTest)  Time 
> elapsed: 14.74 sec  <<< FAILURE!
> junit.framework.AssertionFailedError: Close never completed
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.assertTrue(Assert.java:20)
>         at 
> org.apache.bookkeeper.client.BookKeeperTest.testCloseDuringOp(BookKeeperTest.java:217)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         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)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to