Skip to content

Commit 192e7d8

Browse files
authored
IGNITE-26333 Fix testRestoreFromSecondAttempt (#12304)
1 parent 8716b82 commit 192e7d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/incremental/IncrementalSnapshotRestoreTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ public void testRestoreFromSecondAttempt() throws Exception {
625625

626626
GridTestUtils.assertThrowsAnyCause(log,
627627
() -> grid(0).snapshot().restoreSnapshot(SNP, null, 1).get(),
628-
IgniteException.class, "Force to fail snapshot restore.");
628+
RuntimeException.class, "Force to fail snapshot restore.");
629629

630630
awaitPartitionMapExchange();
631631

@@ -635,7 +635,7 @@ public void testRestoreFromSecondAttempt() throws Exception {
635635

636636
stopAllGrids();
637637

638-
startGrids(3);
638+
startGrids(3).cluster().state(ClusterState.ACTIVE);
639639

640640
checkData(expSnpData, CACHE);
641641
}

0 commit comments

Comments
 (0)