paul8263 commented on code in PR #19772:
URL: https://github.com/apache/flink/pull/19772#discussion_r890730623


##########
flink-clients/src/test/java/org/apache/flink/client/cli/CliFrontendDynamicPropertiesTest.java:
##########
@@ -182,4 +196,45 @@ protected void executeProgram(Configuration configuration, 
PackagedProgram progr
                     program.getUserCodeClassLoader().getClass().getName());
         }
     }
+
+    public static void verifyCliFrontendWithDynamicProperties(
+            Configuration configuration,
+            String[] parameters,
+            GenericCLI cliUnderTest,
+            Duration expectedClientTimeout,
+            int expectedDefaultParallelism)
+            throws Exception {
+        TestingCliFrontendWithDynamicProperties testFrontend =
+                new TestingCliFrontendWithDynamicProperties(
+                        configuration,
+                        cliUnderTest,
+                        expectedClientTimeout,
+                        expectedDefaultParallelism);
+        testFrontend.run(parameters); // verifies the expected values (see 
below)
+    }
+
+    private static final class TestingCliFrontendWithDynamicProperties extends 
CliFrontend {

Review Comment:
   @wangyang0918 ,
   Thank you very much for reviewing. I will update the PR.



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

Reply via email to