gyfora commented on code in PR #356:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/356#discussion_r956982537
##########
flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/reconciler/deployment/ApplicationReconcilerTest.java:
##########
@@ -149,6 +149,9 @@ public void testUpgrade(FlinkVersion flinkVersion) throws
Exception {
deployment.getSpec().setRestartNonce(100L);
flinkService.setHaDataAvailable(false);
deployment.getStatus().getJobStatus().setState("RECONCILING");
+ // enforcement of savepoint upgrade from stable spec
+ var reconStatus = deployment.getStatus().getReconciliationStatus();
+ reconStatus.setLastStableSpec(reconStatus.getLastReconciledSpec());
Review Comment:
I think with the right logic these tests changes might not be necessary
anymore.
--
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]