[
https://issues.apache.org/jira/browse/ZOOKEEPER-3740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052138#comment-17052138
]
Mate Szalay-Beko commented on ZOOKEEPER-3740:
---------------------------------------------
[~maoling], I tried to cherry-pick my PR to branch-3.5, but it didn't work. I
think we miss your previous fixes (ZOOKEEPER-3231, ZOOKEEPER-3710) there. Did
you plan to port those changes to 3.5 too?
> Fix PurgeTxnTest.testPurgeWhenLogRollingInProgress
> --------------------------------------------------
>
> Key: ZOOKEEPER-3740
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3740
> Project: ZooKeeper
> Issue Type: Improvement
> Reporter: Mate Szalay-Beko
> Assignee: Mate Szalay-Beko
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I am not sure if it is a test problem or a real problem, but this test is
> always fails for me locally when I execute a full "{{mvn clean test"}} to
> test the release candidates.
> It also fails frequently on jenkins, e.g.:
> [https://builds.apache.org/view/ZK%20All/job/zookeeper-master-maven/681/]
> {code:java}
> 2020-02-24 06:14:55,914 [myid:] - WARN
> [main:JUnit4ZKTestRunner$LoggedInvokeMethod@105] - TEST METHOD FAILED
> testPurgeWhenLogRollingInProgress
> java.lang.AssertionError: ZkClient ops is not finished!
> at
> org.apache.zookeeper.server.PurgeTxnTest.manyClientOps(PurgeTxnTest.java:590)
> at
> org.apache.zookeeper.server.PurgeTxnTest.testPurgeWhenLogRollingInProgress(PurgeTxnTest.java:154)
> at
> org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:86)
> 2020-02-24 06:14:57,824 [myid:] - ERROR [main:ZKTestCase$1@101] - FAILED
> testPurgeWhenLogRollingInProgress
> java.lang.AssertionError: ZkClient ops is not finished!
> at
> org.apache.zookeeper.server.PurgeTxnTest.manyClientOps(PurgeTxnTest.java:590)
> at
> org.apache.zookeeper.server.PurgeTxnTest.testPurgeWhenLogRollingInProgress(PurgeTxnTest.java:154)
> at
> org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:86)
> 2020-02-24 06:14:57,824 [myid:] - INFO [main:ZKTestCase$1@91] - FINISHED
> testPurgeWhenLogRollingInProgress
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)