nizhikov commented on code in PR #11008:
URL: https://github.com/apache/ignite/pull/11008#discussion_r1368625994
##########
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/IgniteCacheDumpSelfTest.java:
##########
@@ -146,6 +146,45 @@ public void testCacheDump() throws Exception {
}
}
+ /** */
+ @Test
+ public void testCacheDumpWithReadGroupFilter() throws Exception {
+ snpPoolSz = 4;
+
+ try {
+ IgniteEx ign = startGridAndFillCaches();
+
+ createDump(ign);
+
+ checkDump(ign,
+ DMP_NAME,
+ new String[]{GRP},
+ new HashSet<>(Arrays.asList(CACHE_0, CACHE_1)),
+ 0,
+ 2 * (KEYS_CNT + (onlyPrimary ? 0 : KEYS_CNT * backups)),
+ 0);
+
+ checkDump(ign,
+ DMP_NAME,
+ new String[]{DEFAULT_CACHE_NAME},
+ new HashSet<>(Arrays.asList(DEFAULT_CACHE_NAME)),
+ KEYS_CNT + (onlyPrimary ? 0 : KEYS_CNT * backups),
+ 0,
+ KEYS_CNT);
Review Comment:
```suggestion
KEYS_CNT
);
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]