Remove the 'mergeability' cache from tests The 'is:mergeable' predicate isn't enabled by default anymore and also the mergeability cache isn't populated and should not be asserted in tests. Change-Id: I389fffe6f805fae35df4033f488d32a79ed64f5e
diff --git a/src/test/java/com/googlesource/gerrit/modules/cache/chroniclemap/AnalyzeH2CachesIT.java b/src/test/java/com/googlesource/gerrit/modules/cache/chroniclemap/AnalyzeH2CachesIT.java index e7074e0..2a3a6ac 100644 --- a/src/test/java/com/googlesource/gerrit/modules/cache/chroniclemap/AnalyzeH2CachesIT.java +++ b/src/test/java/com/googlesource/gerrit/modules/cache/chroniclemap/AnalyzeH2CachesIT.java
@@ -47,7 +47,6 @@ String result = adminSshSession.exec(cmd); adminSshSession.assertSuccess(); - assertThat(result).contains("[cache \"mergeability\"]\n" + "\tmaxEntries = 1\n"); assertThat(result).contains("[cache \"diff\"]\n" + "\tmaxEntries = 1\n"); assertThat(result).contains("[cache \"accounts\"]\n" + "\tmaxEntries = 4\n"); assertThat(result).contains("[cache \"diff_summary\"]\n" + "\tmaxEntries = 1\n"); @@ -63,7 +62,6 @@ "WARN: Cache change_kind is empty, skipping.", "WARN: Cache diff_summary is empty, skipping.", "WARN: Cache diff is empty, skipping.", - "WARN: Cache mergeability is empty, skipping.", "WARN: Cache pure_revert is empty, skipping.", "WARN: Cache git_tags is empty, skipping."); String result = adminSshSession.exec(cmd); @@ -85,7 +83,6 @@ "WARN: Cache change_kind is empty, skipping.", "WARN: Cache diff_summary is empty, skipping.", "WARN: Cache diff is empty, skipping.", - "WARN: Cache mergeability is empty, skipping.", "WARN: Cache pure_revert is empty, skipping.", "WARN: Cache git_tags is empty, skipping."); String result = adminSshSession.exec(cmd);