chia7712 commented on code in PR #15868:
URL: https://github.com/apache/kafka/pull/15868#discussion_r1593737692
##########
connect/runtime/src/test/java/org/apache/kafka/connect/integration/SessionedProtocolIntegrationTest.java:
##########
@@ -115,11 +112,11 @@ public void ensureInternalEndpointIsSecured() throws
Throwable {
// Try again, but with an invalid signature
log.info(
"Making a POST request to the {} endpoint with no connector
started and an invalid signature header; "
- + "expecting 403 error response",
+ + "expecting 503 error response",
connectorTasksEndpoint
);
assertEquals(
- FORBIDDEN.getStatusCode(),
+ SERVICE_UNAVAILABLE.getStatusCode(),
Review Comment:
`503` is a temporary error, because the worker is still in starting. Could
you please add a wait to check the 503 first ?
--
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]