gyfora commented on code in PR #481:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/481#discussion_r1047041760


##########
flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/service/StandaloneFlinkService.java:
##########
@@ -171,11 +170,6 @@ protected void deleteClusterInternal(ObjectMeta meta, 
boolean deleteHaConfigmaps
 
     @Override
     public boolean scale(ObjectMeta meta, JobSpec jobSpec, Configuration conf) 
{
-        if (conf.get(JobManagerOptions.SCHEDULER_MODE) == null) {

Review Comment:
   As you can see your change actually breaks the test case for this:
   ```
   StandaloneFlinkServiceTest.testReactiveScale:180 expected: <false> but was: 
<true>
   ```
   
   You need to add new tests in this class to make sure this works well for 
sessions too and still preserve the existing behaviour for Application 
deployments



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