gyfora commented on code in PR #489: URL: https://github.com/apache/flink-kubernetes-operator/pull/489#discussion_r1053989089
########## flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconcilerUpgradeModeTest.java: ########## @@ -260,11 +265,96 @@ private FlinkDeployment cloneDeploymentWithUpgradeMode( } @ParameterizedTest - @EnumSource(UpgradeMode.class) - public void testUpgradeBeforeReachingStableSpec(UpgradeMode upgradeMode) throws Exception { + @MethodSource("testUpgradeJmDeployCannotStartParams") + public void testUpgradeJmDeployCannotStart(UpgradeMode fromMode, UpgradeMode toMode) + throws Exception { Review Comment: This test is indeed a bit too complex , I will try to make some extra methods comments to make it clearer -- 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