This is an automated email from the ASF dual-hosted git repository. markt-asf pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 031c047411d7366dde77256728932c743e09d49c Author: Mark Thomas <[email protected]> AuthorDate: Mon Jun 8 10:00:49 2026 +0100 Switch expected and actual. The OpenSSL sourced list is the expected list. The parser sourced list is the actual list. --- .../net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java b/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java index 65c6b41385..07f5ead798 100644 --- a/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java +++ b/test/org/apache/tomcat/util/net/openssl/ciphers/TestOpenSSLCipherConfigurationParser.java @@ -510,6 +510,12 @@ public class TestOpenSSLCipherConfigurationParser { // First check the lists have the same entries // Order is NOT important at this point. It is checked below. + Assert.assertEquals( + "Expected " + jsseCipherListFromOpenSSL.size() + " ciphers but got " + + jsseCipherListFromParser.size() + " for the specification '" + + specification + "'", + new TreeSet<>(jsseCipherListFromOpenSSL), new TreeSet<>(jsseCipherListFromParser)); + Assert.assertEquals( "Expected " + jsseCipherListFromParser.size() + " ciphers but got " + jsseCipherListFromOpenSSL.size() + " for the specification '" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
