jerrypeng commented on a change in pull request #3770: Allow users to update 
everything in inputspecs except for isregexpattern
URL: https://github.com/apache/pulsar/pull/3770#discussion_r263113441
 
 

 ##########
 File path: 
pulsar-functions/utils/src/test/java/org/apache/pulsar/functions/utils/FunctionConfigUtilsTest.java
 ##########
 @@ -157,6 +157,15 @@ public void testMergeDifferentInputs() {
         FunctionConfigUtils.validateUpdate(functionConfig, newFunctionConfig);
     }
 
+    @Test(expectedExceptions = IllegalArgumentException.class, 
expectedExceptionsMessageRegExp = "Input Specs mismatch")
 
 Review comment:
   Can we also add a test case that tests that other configs e.g. 
receiverQueueSize can be passed/updated without error

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to