This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch 2.7
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.7 by this push:
     new 8c221a4  HOTFIX: fix RocksDBMetricsTest (#9935)
8c221a4 is described below

commit 8c221a442ecad0e297253fb2804b2ebf07ecd5b9
Author: Chia-Ping Tsai <[email protected]>
AuthorDate: Wed Jan 20 22:58:04 2021 +0800

    HOTFIX: fix RocksDBMetricsTest (#9935)
    
    Reviewers: Ismael Juma <[email protected]>
---
 .../kafka/streams/state/internals/metrics/RocksDBMetricsTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/streams/src/test/java/org/apache/kafka/streams/state/internals/metrics/RocksDBMetricsTest.java
 
b/streams/src/test/java/org/apache/kafka/streams/state/internals/metrics/RocksDBMetricsTest.java
index 0d4ae6f..a1dd35d 100644
--- 
a/streams/src/test/java/org/apache/kafka/streams/state/internals/metrics/RocksDBMetricsTest.java
+++ 
b/streams/src/test/java/org/apache/kafka/streams/state/internals/metrics/RocksDBMetricsTest.java
@@ -290,7 +290,7 @@ public class RocksDBMetricsTest {
     @Test
     public void shouldAddCurSizeAllMemTablesMetric() {
         final String name = "cur-size-all-mem-tables";
-        final String description = "Approximate size of active and unflushed 
immutable memtable in bytes";
+        final String description = "Approximate size of active and unflushed 
immutable memtables in bytes";
         runAndVerifyMutableMetric(
             name,
             description,
@@ -390,7 +390,7 @@ public class RocksDBMetricsTest {
     @Test
     public void shouldAddNumLiveVersionMetric() {
         final String name = "num-live-versions";
-        final String description = "Number of live versions";
+        final String description = "Number of live versions of the LSM tree";
         runAndVerifyMutableMetric(
             name,
             description,
@@ -435,7 +435,7 @@ public class RocksDBMetricsTest {
     public void shouldAddEstimateNumKeysMetric() {
         final String name = "estimate-num-keys";
         final String description =
-            "Estimated number of total keys in the active and unflushed 
immutable memtables and storage";
+            "Estimated number of keys in the active and unflushed immutable 
memtables and storage";
         runAndVerifyMutableMetric(
             name,
             description,

Reply via email to