timoninmaxim commented on code in PR #11040:
URL: https://github.com/apache/ignite/pull/11040#discussion_r1397450073
##########
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/dump/IgniteCacheDumpSelfTest.java:
##########
@@ -146,6 +152,43 @@ public void testCacheDump() throws Exception {
}
}
+ /** */
+ @Test
+ public void testZippedCacheDump() throws Exception {
+ snpPoolSz = 4;
+
+ try {
+ IgniteEx ign = startGridAndFillCaches();
+
+ createDump(ign, DMP_NAME, null, true);
+
+ checkDump(ign);
+
+ checkPartitionsNames(ign, true);
+ }
+ finally {
+ snpPoolSz = 1;
+ }
+ }
+
+ /** */
+ private void checkPartitionsNames(IgniteEx ign, boolean compressed) throws
IgniteCheckedException {
Review Comment:
OMG, could you please write this check in more straightforward way?
Why there are filter by \"node\", \"cache\" substrings? Can we build the
direct path to the partitions files?
--
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]