You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ti...@apache.org on 2025/09/03 09:04:54 UTC
(ignite) branch master updated: IGNITE-26333 Fix testRestoreFromSecondAttempt (#12304)
This is an automated email from the ASF dual-hosted git repository.
timoninmaxim pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new 192e7d87870 IGNITE-26333 Fix testRestoreFromSecondAttempt (#12304)
192e7d87870 is described below
commit 192e7d878704417abe1e3f97cad77fce8a406d2f
Author: Aleksandr Chesnokov <ch...@gmail.com>
AuthorDate: Wed Sep 3 12:04:48 2025 +0300
IGNITE-26333 Fix testRestoreFromSecondAttempt (#12304)
---
.../snapshot/incremental/IncrementalSnapshotRestoreTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/incremental/IncrementalSnapshotRestoreTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/incremental/IncrementalSnapshotRestoreTest.java
index b0baec399fd..5cad5b48d5c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/incremental/IncrementalSnapshotRestoreTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/incremental/IncrementalSnapshotRestoreTest.java
@@ -625,7 +625,7 @@ public class IncrementalSnapshotRestoreTest extends AbstractIncrementalSnapshotT
GridTestUtils.assertThrowsAnyCause(log,
() -> grid(0).snapshot().restoreSnapshot(SNP, null, 1).get(),
- IgniteException.class, "Force to fail snapshot restore.");
+ RuntimeException.class, "Force to fail snapshot restore.");
awaitPartitionMapExchange();
@@ -635,7 +635,7 @@ public class IncrementalSnapshotRestoreTest extends AbstractIncrementalSnapshotT
stopAllGrids();
- startGrids(3);
+ startGrids(3).cluster().state(ClusterState.ACTIVE);
checkData(expSnpData, CACHE);
}