Skip to content

Commit d9478ef

Browse files
jameseh96daverigby
authored andcommitted
MB-41915: Fix intermittent failure in eviction test
Occasionally the replica memory usage will be high enough/the amount of memory that needs to be freed will be low enough that eviction does not need to evict from active VBs in the ActiveEvictedIfReplicaEvictionInsufficient test. This test expects to evict from active vbuckets. Change-Id: I001b462a30658b70307b6ed393afd342c0620903 Reviewed-on: http://review.couchbase.org/c/kv_engine/+/138400 Tested-by: Build Bot <[email protected]> Reviewed-by: Dave Rigby <[email protected]>
1 parent 6b73781 commit d9478ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engines/ep/tests/module_tests/item_pager_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ TEST_P(STItemPagerTest, ActiveEvictedIfReplicaEvictionInsufficient) {
10691069
size_t pageableMem =
10701070
store->getVBucket(replicaVB)->getPageableMemUsage();
10711071

1072-
return pageableMem > watermarkDiff * 0.8;
1072+
return pageableMem > watermarkDiff * 0.7;
10731073
});
10741074
flushAndRemoveCheckpoints(replicaVB);
10751075

0 commit comments

Comments
 (0)