abbccdda commented on a change in pull request #10240:
URL: https://github.com/apache/kafka/pull/10240#discussion_r588010801



##########
File path: tests/kafkatest/tests/core/security_test.py
##########
@@ -65,7 +65,7 @@ def test_client_ssl_endpoint_validation_failure(self, 
security_protocol, interbr
         Test that invalid hostname in certificate results in connection 
failures.
         When security_protocol=SSL, client SSL handshakes are expected to fail 
due to hostname verification failure.
         When security_protocol=PLAINTEXT and 
interbroker_security_protocol=SSL, controller connections fail
-        with hostname verification failure. Hence clients are expected to fail 
with LEADER_NOT_AVAILABLE.
+        with hostname verification failure. Hence clients are expected to fail 
with INVALID_REPLICATION_FACTOR.

Review comment:
       Sounds good, will add this part!




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to