From 1110d209ab31d75732eb8c029158d566f1e182a8 Mon Sep 17 00:00:00 2001 From: livk Date: Tue, 24 Dec 2024 16:50:50 +0800 Subject: [PATCH] polish --- .../autoconfigure/redisson/RedissonClientFactoryTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-boot-extension-autoconfigure/src/test/java/com/livk/autoconfigure/redisson/RedissonClientFactoryTest.java b/spring-boot-extension-autoconfigure/src/test/java/com/livk/autoconfigure/redisson/RedissonClientFactoryTest.java index 97721c7d2..0e71962a8 100644 --- a/spring-boot-extension-autoconfigure/src/test/java/com/livk/autoconfigure/redisson/RedissonClientFactoryTest.java +++ b/spring-boot-extension-autoconfigure/src/test/java/com/livk/autoconfigure/redisson/RedissonClientFactoryTest.java @@ -39,6 +39,8 @@ import java.util.function.Consumer; +import static org.junit.jupiter.api.Assertions.assertNotNull; + /** * @author livk */ @@ -77,6 +79,8 @@ void create() { RedissonClient redissonClient = RedissonClientFactory.create(properties, new RedisProperties(), configCustomizers); + assertNotNull(redissonClient); + redissonClient.shutdown(); } }