You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by re...@apache.org on 2020/09/29 16:18:05 UTC
[hbase] branch branch-1 updated: HBASE-25114 [Flake Test][branch-1]
TestFromClientSide#testCacheOnWriteEvictOnClose (#2470)
This is an automated email from the ASF dual-hosted git repository.
reidchan pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new e719a5b HBASE-25114 [Flake Test][branch-1] TestFromClientSide#testCacheOnWriteEvictOnClose (#2470)
e719a5b is described below
commit e719a5b589b3eb2fd7bff47e6332aa3d61e3b2f6
Author: Reid Chan <re...@apache.org>
AuthorDate: Wed Sep 30 00:17:40 2020 +0800
HBASE-25114 [Flake Test][branch-1] TestFromClientSide#testCacheOnWriteEvictOnClose (#2470)
Signed-off-by: Viraj Jasani <vj...@apache.org>
---
.../test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java
index 4c2ec1f..c10ff07 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java
@@ -5386,7 +5386,7 @@ public class TestFromClientSide {
waitForStoreFileCount(store, 1, 10000); // wait 10 seconds max
assertEquals(1, store.getStorefilesCount());
// evicted two data blocks and two index blocks and compaction does not cache new blocks
- expectedBlockCount = 0;
+ expectedBlockCount -= 4;
assertEquals(expectedBlockCount, cache.getBlockCount());
expectedBlockHits += 2;
assertEquals(expectedBlockMiss, cache.getStats().getMissCount());