mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fixed MySqlExceptionSorter
This commit is contained in:
+2
-1
@@ -12,7 +12,8 @@ import com.alibaba.druid.pool.vendor.MySqlExceptionSorter;
|
||||
public class MySqlExceptionSorterTest_oceanbase extends TestCase {
|
||||
public void test_true() throws Exception {
|
||||
MySqlExceptionSorter sorter = new MySqlExceptionSorter();
|
||||
Assert.assertTrue(sorter.isExceptionFatal(new SQLException("", "", -9000)));
|
||||
SQLException exception = new SQLException("", "", -9000);
|
||||
Assert.assertTrue(sorter.isExceptionFatal(exception));
|
||||
}
|
||||
|
||||
public void test_true_1() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user