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


##########
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/incremental/IncrementalSnapshotRestoreTest.java:
##########
@@ -623,9 +623,9 @@ public void testRestoreFromSecondAttempt() throws Exception 
{
 
         restartWithCleanPersistence();
 
-        GridTestUtils.assertThrowsAnyCause(log,
+        GridTestUtils.assertThrows(log,
             () -> grid(0).snapshot().restoreSnapshot(SNP, null, 1).get(),
-            IgniteException.class, "Force to fail snapshot restore.");

Review Comment:
   Let's wait for RuntimeException with throwed exception. This test checks 
that user receive a root exception 



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to