shishkovilja commented on code in PR #10328:
URL: https://github.com/apache/ignite/pull/10328#discussion_r1041360675
##########
modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java:
##########
@@ -704,6 +704,77 @@ public void testClusterChangeTag() throws Exception {
assertTrue("Tag has not been updated in 10 seconds", tagUpdated);
}
+ /**
+ * Tests idle_verify working on an active cluster with persistence. Works
via control.sh.
+ *
+ * @throws Exception if failed.
+ */
+ @Test
+ public void testIdleVerifyOnActiveClusterWithPersistence() throws
Exception {
+ dataRegionConfiguration = new DataRegionConfiguration()
+ .setName("persistent-dataRegion")
+ .setPersistenceEnabled(true);
+
+ Ignite ignite = startGrids(1);
+
+ ignite.cluster().state(ACTIVE);
+
+ assertTrue(ignite.cluster().active());
+ assertEquals(ACTIVE, ignite.cluster().state());
+
+ ignite.createCache(new CacheConfiguration<>("persistent-cache")
Review Comment:
IMHO, it is excessive too.
--
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]