Patrick Hunt created ZOOKEEPER-1522:
---------------------------------------
Summary: intermittent failures in Zab test due to NPE in
recursiveDelete test function
Key: ZOOKEEPER-1522
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1522
Project: ZooKeeper
Issue Type: Bug
Components: tests
Affects Versions: 3.4.3, 3.5.0
Reporter: Patrick Hunt
Assignee: Patrick Hunt
Fix For: 3.4.4, 3.5.0
The jdk7 test job on jenkins is failing intermittently with
{noformat}
java.lang.NullPointerException
at
org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:917)
at
org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
at
org.apache.zookeeper.server.quorum.Zab1_0Test.recursiveDelete(Zab1_0Test.java:918)
at
org.apache.zookeeper.server.quorum.Zab1_0Test.testPopulatedLeaderConversation(Zab1_0Test.java:419)
at
org.apache.zookeeper.server.quorum.Zab1_0Test.testUnnecessarySnap(Zab1_0Test.java:483)
{noformat}
Seems to not be handling the case where the file is deleted out from under.
Also the recursive deletes should be at the very end of the finally I would
think.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira