fix:embedded-redis need update version to run on macos Sonoma (#14072) (#14074) (#14227)

This commit is contained in:
stellar 2024-05-23 11:03:18 +08:00 committed by GitHub
parent b12b23cbf0
commit a6c61175c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -146,7 +146,7 @@
<log4j2_version>2.23.1</log4j2_version>
<commons_io_version>2.16.1</commons_io_version>
<embedded_redis_version>0.13.0</embedded_redis_version>
<embedded_redis_version>1.1.0</embedded_redis_version>
<!-- Alibaba -->
<alibaba_spring_context_support_version>1.0.11</alibaba_spring_context_support_version>

View File

@ -250,7 +250,8 @@ class RedisMetadataReportTest {
if (e.getCause() instanceof JedisConnectionException
&& e.getCause().getCause() instanceof JedisDataException) {
Assertions.assertEquals(
"ERR invalid password", e.getCause().getCause().getMessage());
"WRONGPASS invalid username-password pair or user is disabled.",
e.getCause().getCause().getMessage());
} else {
Assertions.fail("no invalid password exception!");
}