File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/org/apache/ibatis/jdbc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ void shouldReconnectWhenServerKilledLeakedConnection() throws Exception {
121
121
ds .setPoolPingConnectionsNotUsedFor (1000 );
122
122
123
123
Connection con = ds .getConnection ();
124
- exexuteQuery (con );
124
+ executeQuery (con );
125
125
// Simulate connection leak by not closing.
126
126
// con.close();
127
127
@@ -132,11 +132,11 @@ void shouldReconnectWhenServerKilledLeakedConnection() throws Exception {
132
132
133
133
// Should return usable connection.
134
134
con = ds .getConnection ();
135
- exexuteQuery (con );
135
+ executeQuery (con );
136
136
con .close ();
137
137
}
138
138
139
- private void exexuteQuery (Connection con ) throws SQLException {
139
+ private void executeQuery (Connection con ) throws SQLException {
140
140
try (PreparedStatement st = con .prepareStatement ("select 1" );
141
141
ResultSet rs = st .executeQuery ()) {
142
142
while (rs .next ()) {
You can’t perform that action at this time.
0 commit comments