Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21952

Test Failure: TestClientOperationInterrupt.testInterrupt50Percent

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.0
    • 3.0.0-alpha-1, 1.5.0, 2.3.0
    • None
    • None

    Description

      I can reproduce on linux box with java
      openjdk version "10.0.1" 2018-04-17
      OpenJDK Runtime Environment Zulu10.2+4 (build 10.0.1+9)
      OpenJDK 64-Bit Server VM Zulu10.2+4 (build 10.0.1+9, mixed mode)

      -------------------------------------------------------------------------------
      Test set: org.apache.hadoop.hbase.client.TestClientOperationInterrupt
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 51.861 s <<< FAILURE! - in org.apache.hadoop.hbase.client.TestClientOperationInterrupt
      testInterrupt50Percent(org.apache.hadoop.hbase.client.TestClientOperationInterrupt) Time elapsed: 50.108 s <<< FAILURE!
      java.lang.AssertionError: noEx: 53, badEx=0, noInt=0
      at org.apache.hadoop.hbase.client.TestClientOperationInterrupt.testInterrupt50Percent(TestClientOperationInterrupt.java:149)

      Note:
      Expected value is 50.

      Code:

      160     Assert.assertTrue(" noEx: " + noEx.get() + ", badEx=" + badEx.get() + ", noInt=" + noInt.get(),
      161         noEx.get() == nbThread / 2 && badEx.get() == 0);
      

      And nbThread is 100.

      Attachments

        1. HBASE-21952.branch-1.001.patch
          2 kB
          Xu Cang
        2. HBASE-21952.branch-1.001.patch
          2 kB
          Xu Cang
        3. HBASE-21952.branch-1.001.patch
          2 kB
          Xu Cang

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xucang Xu Cang
            xucang Xu Cang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment