Erixonich commented on a change in pull request #9110:
URL: https://github.com/apache/ignite/pull/9110#discussion_r636009542



##########
File path: 
modules/control-utility/src/test/java/org/apache/ignite/util/GridCommandHandlerPropertiesTest.java
##########
@@ -197,4 +199,45 @@ public void testPropertyDefaultQueryTimeout() {
             )
         );
     }
+
+    /**
+     * Check the set command for property 'wal.rebalance.threshold'.
+     */
+    @Test
+    public void testPropertyWalRebalanceThreshold() {
+        assertDistributedPropertyEquals(WAL_REBALANCE_THRESHOLD_DMS_KEY, 
DFLT_PDS_WAL_REBALANCE_THRESHOLD, true);
+
+        int newVal = 1000;
+
+        assertEquals(
+            EXIT_CODE_OK,
+            execute(
+                "--property", "set",
+                "--name", "wal.rebalance.threshold",
+                "--val", Integer.toString(newVal)
+            )
+        );
+
+        assertDistributedPropertyEquals(WAL_REBALANCE_THRESHOLD_DMS_KEY, 
newVal, true);
+    }
+
+    /**
+     * Validates that distributed property has specified value across all 
nodes.
+     * @param propName Distributed property name.
+     * @param expected Expected property value.
+     * @param <T> Property type.
+     */

Review comment:
       Will do




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to