rodmeneses commented on code in PR #563:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/563#discussion_r1164504549
##########
flink-kubernetes-operator/src/test/java/org/apache/flink/kubernetes/operator/controller/FlinkDeploymentControllerTest.java:
##########
@@ -217,9 +227,10 @@ public void verifyBasicReconcileLoop(FlinkVersion
flinkVersion) throws Exception
@Test
public void verifyFailedDeployment() throws Exception {
+
var submittedEventValidatingResponseProvider =
new TestUtils.ValidatingResponseProvider<>(
- new
EventBuilder().withNewMetadata().endMetadata().build(),
+ mockedEvent,
Review Comment:
I tried but the the `TestUtils.ValidatingResponseProvider` class requires
the event to be returned at construction time, and I couldn't find a way to
intercept the `createOrReplace` call inside `EventUtils.createOrUpdateEvent`
--
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]