timoninmaxim commented on code in PR #12456:
URL: https://github.com/apache/ignite/pull/12456#discussion_r2493639847


##########
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IgniteClusterSnapshotSelfTest.java:
##########
@@ -1311,6 +1313,80 @@ public void testClientHandlesSnapshotFailOnStartStage() 
throws Exception {
         assertSnapshotCacheKeys(cln.cache(dfltCacheCfg.getName()));
     }
 
+    /**
+     * Test snapshot operation logging for incremental snapshots.
+     */
+    @Test
+    public void testIncrementalSnapshotOperationLogging() throws Exception {
+        assumeFalse("https://issues.apache.org/jira/browse/IGNITE-17819";, 
encryption);
+
+        ListeningTestLogger listeningLog = new ListeningTestLogger(log);
+
+        LogListener fullStartListener = LogListener.matches("Starting local 
snapshot operation")
+            .andMatches("incremental=false")
+            .build();
+
+        LogListener fullEndListener = LogListener.matches("Finishing local 
snapshot operation")
+            .andMatches("err=null")
+            .andMatches("incremental=false")
+            .build();
+
+        listeningLog.registerListener(fullStartListener);
+        listeningLog.registerListener(fullEndListener);
+
+        IgniteConfiguration cfg = 
getConfiguration(getTestIgniteInstanceName(0))
+            .setGridLogger(listeningLog);
+
+        IgniteEx ignite = startGrid(cfg);

Review Comment:
   Let's start 2 nodes, and check each one



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