[
https://issues.apache.org/jira/browse/ZOOKEEPER-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13528887#comment-13528887
]
Hudson commented on ZOOKEEPER-1596:
-----------------------------------
Integrated in ZooKeeper-trunk #1769 (See
[https://builds.apache.org/job/ZooKeeper-trunk/1769/])
ZOOKEEPER-1596. Zab1_0Test should ensure that the file is closed (Enis
Soztutar via phunt) (Revision 1420028)
Result = SUCCESS
phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1420028
Files :
* /zookeeper/trunk/CHANGES.txt
*
/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java
> Zab1_0Test should ensure that the file is closed
> ------------------------------------------------
>
> Key: ZOOKEEPER-1596
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1596
> Project: ZooKeeper
> Issue Type: Bug
> Affects Versions: 3.5.0, 3.4.5
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Fix For: 3.5.0, 3.4.6
>
> Attachments: zookeeper-1596_v1.patch
>
>
> Zab1_0Test fails on windows with:
> {code}
> java.io.IOException: Could not rename temporary file
> C:\Users\ADMINI~1\AppData\Local\Temp\2\test6831881113551099349dir\version-2\acceptedEpoch.tmp
> to C:\Users\A
> DMINI~1\AppData\Local\Temp\2\test6831881113551099349dir\version-2\acceptedEpoch
> at
> org.apache.zookeeper.common.AtomicFileOutputStream.close(AtomicFileOutputStream.java:82)
> at
> org.apache.zookeeper.server.quorum.QuorumPeer.writeLongToFile(QuorumPeer.java:1121)
> at
> org.apache.zookeeper.server.quorum.QuorumPeer.setAcceptedEpoch(QuorumPeer.java:1148)
> at
> org.apache.zookeeper.server.quorum.Learner.registerWithLeader(Learner.java:281)
> at
> org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:72)
> at
> org.apache.zookeeper.server.quorum.Zab1_0Test$1.run(Zab1_0Test.java:450)
> {code}
> The file handlers currentEpoch and acceptedEpoch are not closed, so delete
> fails on windows.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira