Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3170 Umbrella for eliminating ZooKeeper flaky tests
  3. ZOOKEEPER-3477

Flaky test:CommitProcessorMetricsTest.testConcurrentRequestProcessingInCommitProcessor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • tests
    • None

    Description

       

      https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build-maven/org.apache.zookeeper$zookeeper/1011/testReport/junit/org.apache.zookeeper.server.quorum/CommitProcessorMetricsTest/testConcurrentRequestProcessingInCommitProcessor/

      Error Message
      expected:<3> but was:<2>
      Stacktrace
      java.lang.AssertionError: expected:<3> but was:<2>
      	at org.apache.zookeeper.server.quorum.CommitProcessorMetricsTest.testConcurrentRequestProcessingInCommitProcessor(CommitProcessorMetricsTest.java:391)
      
      Standard Output
      2019-07-30 08:02:13,023 [myid:] - INFO  [main:ZKTestCase$1@60] - STARTING testConcurrentRequestProcessingInCommitProcessor
      2019-07-30 08:02:13,023 [myid:] - INFO  [main:CommitProcessorMetricsTest@52] - setup
      2019-07-30 08:02:13,023 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@78] - RUNNING TEST METHOD testConcurrentRequestProcessingInCommitProcessor
      2019-07-30 08:02:13,024 [myid:] - INFO  [main:CommitProcessor@496] - Configuring CommitProcessor with readBatchSize -1 commitBatchSize 1
      2019-07-30 08:02:13,025 [myid:] - INFO  [main:CommitProcessor@454] - Configuring CommitProcessor with 24 worker threads.
      2019-07-30 08:02:13,075 [myid:] - INFO  [main:CommitProcessorMetricsTest$TestCommitProcessor@109] - numWorkerThreads in Test is 3
      2019-07-30 08:02:15,079 [myid:] - INFO  [main:JUnit4ZKTestRunner$LoggedInvokeMethod@99] - TEST METHOD FAILED testConcurrentRequestProcessingInCommitProcessor
      java.lang.AssertionError: expected:<3> but was:<2>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:834)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at 
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maoling Ling Mao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: