You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Mate Szalay-Beko (Jira)" <ji...@apache.org> on 2020/02/27 08:46:00 UTC

[jira] [Updated] (ZOOKEEPER-3740) Fix PurgeTxnTest.testPurgeWhenLogRollingInProgress

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mate Szalay-Beko updated ZOOKEEPER-3740:
----------------------------------------
    Summary: Fix PurgeTxnTest.testPurgeWhenLogRollingInProgress  (was: Fix flaky PurgeTxnTest.testPurgeWhenLogRollingInProgress)

> Fix PurgeTxnTest.testPurgeWhenLogRollingInProgress
> --------------------------------------------------
>
>                 Key: ZOOKEEPER-3740
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3740
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Mate Szalay-Beko
>            Priority: Major
>
> 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)