You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2022/11/03 03:16:42 UTC

[GitHub] [ignite] Vladsz83 commented on a diff in pull request #10286: IGNITE-17369 : v2, notify snapshot manager.

Vladsz83 commented on code in PR #10286:
URL: https://github.com/apache/ignite/pull/10286#discussion_r1012461908


##########
modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerTest.java:
##########
@@ -3061,6 +3071,71 @@ public void testClusterSnapshotCreateSynchronously() throws Exception {
         doClusterSnapshotCreate(true);
     }
 
+    /**
+     * Test that 'not OK' status of snapshot operation is set if the operation produces a warning.
+     *
+     * @throws Exception If failed.
+     */
+    @Test
+    public void testClusterCreateSnapshotWarning() throws Exception {
+        IgniteConfiguration cfg = getConfiguration(getTestIgniteInstanceName(0));
+        cfg.getConnectorConfiguration().setHost("localhost");
+
+        String targetMsg = U.field(DataStreamerUpdatesHandler.class, "WRN_MSG");
+
+        AtomicReference<Exception> simulationEx = new AtomicReference<>();

Review Comment:
   Removed



-- 
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-unsubscribe@ignite.apache.org

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