tweise commented on code in PR #23452:
URL: https://github.com/apache/flink/pull/23452#discussion_r1337637880
##########
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:
My question is why the unwrapping is conditional? Isn't it an error if
`messageHeaders` is not double wrapped? If so, then the test should check that.
--
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]