From e0e8e3461e5257ba4aa19e6b3614a2685b298947 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Thu, 6 Jun 2024 11:22:05 +0100 Subject: [PATCH] Update fix for Bug#114687 (Bug#36529541), Tests fail after mysql_native_password has been made optional in server. Change-Id: I4df9985d802ec4bd31f9b103a045926226df537d --- src/test/java/testsuite/x/internal/XProtocolTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/testsuite/x/internal/XProtocolTest.java b/src/test/java/testsuite/x/internal/XProtocolTest.java index 1a6d1cdf3..64cc09805 100644 --- a/src/test/java/testsuite/x/internal/XProtocolTest.java +++ b/src/test/java/testsuite/x/internal/XProtocolTest.java @@ -531,7 +531,7 @@ public void testCapabilities() { assertEquals("mysql", capabilities.getNodeType()); assertTrue(capabilities.getTls()); assertFalse(capabilities.getClientPwdExpireOk()); - assertTrue(capabilities.getAuthenticationMechanisms().contains("MYSQL41")); + assertFalse(capabilities.getAuthenticationMechanisms().isEmpty()); assertEquals("text", capabilities.getDocFormats()); }