DenisPolo commented on code in PR #12160:
URL: https://github.com/apache/ignite/pull/12160#discussion_r2346944802


##########
modules/compress/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotCompressionBasicTest.java:
##########
@@ -223,6 +226,8 @@ public void testRestoreFail_OnGridWithoutCompression() 
throws Exception {
                 "from snapshot '" + snpName + "' are compressed while disk 
page compression is disabled. To check " +
                     "these groups please start Ignite with ignite-compress"
             );
+
+            awaitPartitionMapExchange();

Review Comment:
   The next iteration in the 'for' loop triggers too quickly, and the caches do 
not have time to be deleted. As a result, the check for the absence of files in 
'SnapshotRestoreProcess#enrichContext' fails with the error "Unable to restore 
cache group - directory is not empty."
   The method 'awaitPartitionMapExchange();' was specifically added to ensure 
the complete removal of all caches.



-- 
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]

Reply via email to