From d831bc9e8f8659f02defaca12d89780e798e97db Mon Sep 17 00:00:00 2001 From: mikolls Date: Fri, 3 May 2024 00:37:46 +0800 Subject: [PATCH] [ISSUE#12022] Fix nacos datasource plugin ClassCastException bug (#12022) --- .../alibaba/nacos/plugin/datasource/MapperManagerTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/datasource/src/test/java/com/alibaba/nacos/plugin/datasource/MapperManagerTest.java b/plugin/datasource/src/test/java/com/alibaba/nacos/plugin/datasource/MapperManagerTest.java index 75c84311cd3..c336ece1f6e 100644 --- a/plugin/datasource/src/test/java/com/alibaba/nacos/plugin/datasource/MapperManagerTest.java +++ b/plugin/datasource/src/test/java/com/alibaba/nacos/plugin/datasource/MapperManagerTest.java @@ -17,7 +17,10 @@ package com.alibaba.nacos.plugin.datasource; import com.alibaba.nacos.plugin.datasource.constants.DataSourceConstant; -import com.alibaba.nacos.plugin.datasource.mapper.*; +import com.alibaba.nacos.plugin.datasource.mapper.AbstractMapper; +import com.alibaba.nacos.plugin.datasource.mapper.ConfigInfoMapper; +import com.alibaba.nacos.plugin.datasource.mapper.Mapper; +import com.alibaba.nacos.plugin.datasource.mapper.TestMapper; import org.junit.Assert; import org.junit.Test;