You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/11/06 01:07:58 UTC

[GitHub] [hbase] xcangCRM commented on a change in pull request #787: HBASE-23245 : MutableHistogram constructor changes and provide Histog…

xcangCRM commented on a change in pull request #787: HBASE-23245 : MutableHistogram constructor changes and provide Histog…
URL: https://github.com/apache/hbase/pull/787#discussion_r342874949
 
 

 ##########
 File path: hbase-metrics/src/test/java/org/apache/hadoop/hbase/metrics/impl/TestHistogramImpl.java
 ##########
 @@ -63,19 +63,19 @@ public void testSnapshot() {
     Snapshot snapshot = histogram.snapshot();
 
     assertEquals(100, snapshot.getCount());
-    assertEquals(50, snapshot.getMedian());
+    assertEquals(49, snapshot.getMedian());
 
 Review comment:
   can you help me understanding why this became 49?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services