Skip to content

Commit 8f138d0

Browse files
committed
IGNITE-13805 (minor) Javadoc improved, cache start test included into suite.
1 parent 5747add commit 8f138d0

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

modules/core/src/main/java/org/apache/ignite/IgniteSnapshot.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public interface IgniteSnapshot {
5454
/**
5555
* Restore cache group(s) from the snapshot.
5656
* <p>
57-
* <b>NOTE:</b> Cache groups to be restored from the snapshot must not present in the cluster, if they present, they must be destroyed by the user before starting this operation.
57+
* <b>NOTE:</b> Cache groups to be restored from the snapshot must not present in the cluster, if they present,
58+
* they must be destroyed by the user (eg with {@link IgniteCache#destroy()}) before starting this operation.
5859
*
5960
* @param name Snapshot name.
6061
* @param cacheGroupNames Cache groups to be restored or {@code null} to restore all cache groups from the snapshot.

modules/core/src/test/java/org/apache/ignite/internal/processors/cache/DynamicCacheStartFailsOnNodeLeftTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,18 @@ public class DynamicCacheStartFailsOnNodeLeftTest extends GridCommonAbstractTest
5656
* @throws Exception If failed.
5757
*/
5858
@Test
59-
public void testRollbackOnRequiredTopologyWhenCrdFailsOnExhangeFinish() throws Exception {
59+
public void testRollbackOnRequiredTopologyWhenCrdFailsOnExhange() throws Exception {
6060
checkRollbackOnRequiredTopologyWhenNodeFails(true);
6161
}
6262

6363
/**
6464
* @throws Exception If failed.
6565
*/
6666
@Test
67-
public void testRollbackOnRequiredTopologyWhenNodeFailsOnExhangeFinish() throws Exception {
67+
public void testRollbackOnRequiredTopologyWhenNodeFailsOnExhange() throws Exception {
6868
checkRollbackOnRequiredTopologyWhenNodeFails(false);
6969
}
7070

71-
7271
/**
7372
* @param crdStop {{@code True} to stop coordinator node.
7473
*/

modules/core/src/test/java/org/apache/ignite/testsuites/IgniteCacheTestSuite8.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import java.util.List;
2323
import org.apache.ignite.cache.ClientCreateCacheGroupOnJoinNodeMapsTest;
2424
import org.apache.ignite.internal.processors.cache.CacheStoreTxPutAllMultiNodeTest;
25+
import org.apache.ignite.internal.processors.cache.DynamicCacheStartFailsOnNodeLeftTest;
2526
import org.apache.ignite.internal.processors.cache.GridCacheOrderedPreloadingSelfTest;
2627
import org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest;
2728
import org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRebalanceOrderTest;
@@ -80,6 +81,8 @@ public static List<Class<?>> suite(Collection<Class> ignoredTests) {
8081
GridTestUtils.addTestIfNeeded(suite, CleanupRestoredCachesSlowTest.class, ignoredTests);
8182
GridTestUtils.addTestIfNeeded(suite, ClientCreateCacheGroupOnJoinNodeMapsTest.class, ignoredTests);
8283

84+
GridTestUtils.addTestIfNeeded(suite, DynamicCacheStartFailsOnNodeLeftTest.class, ignoredTests);
85+
8386
return suite;
8487
}
8588
}

0 commit comments

Comments
 (0)