FrankYang0529 commented on code in PR #15868: URL: https://github.com/apache/kafka/pull/15868#discussion_r1597538208
########## 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: Added it and `ensureInternalEndpointIsSecured` can pass in CI environment. Thanks. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org