wuchong commented on a change in pull request #17842:
URL: https://github.com/apache/flink/pull/17842#discussion_r756141514



##########
File path: 
flink-java/src/test/java/org/apache/flink/api/java/utils/OptionsTest.java
##########
@@ -54,16 +54,6 @@ public void testChoicesWithValidDefaultValue() {
         Assert.assertEquals(option.getDefaultValue(), "a");
     }
 
-    @Test
-    public void testChoicesWithInvalidDefautlValue() throws 
RequiredParametersException {

Review comment:
       I would suggest to change the method name to 
`testChoicesWithInvalidDefaultValue2` and put it after 
`testChoicesWithInvalidDefaultValue`. 
   
   `expectedException` can't be used in a test method twice. 




-- 
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: issues-unsubscr...@flink.apache.org

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


Reply via email to