tweise commented on code in PR #23452:
URL: https://github.com/apache/flink/pull/23452#discussion_r1337609425


##########
flink-clients/src/test/java/org/apache/flink/client/program/rest/RestClusterClientTest.java:
##########
@@ -909,6 +910,17 @@ void testSubmitJobAndWaitForExecutionResult() throws 
Exception {
         final AtomicBoolean firstSubmitRequestFailed = new 
AtomicBoolean(false);
         failHttpRequest =
                 (messageHeaders, messageParameters, requestBody) -> {
+                    if (messageHeaders instanceof CustomHeadersDecorator) {

Review Comment:
   This is a bit hard to follow. Shouldn't we expect to find 
`CustomHeadersDecorator` and throw an error otherwise? If not then the bug you 
are trying to fix could be re-introduced w/o the test breaking?



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

Reply via email to