Skip to content

Commit 259398e

Browse files
committed
fixed typo
1 parent 18d363d commit 259398e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/apache/ibatis/jdbc/PooledDataSourceTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void shouldReconnectWhenServerKilledLeakedConnection() throws Exception {
121121
ds.setPoolPingConnectionsNotUsedFor(1000);
122122

123123
Connection con = ds.getConnection();
124-
exexuteQuery(con);
124+
executeQuery(con);
125125
// Simulate connection leak by not closing.
126126
// con.close();
127127

@@ -132,11 +132,11 @@ void shouldReconnectWhenServerKilledLeakedConnection() throws Exception {
132132

133133
// Should return usable connection.
134134
con = ds.getConnection();
135-
exexuteQuery(con);
135+
executeQuery(con);
136136
con.close();
137137
}
138138

139-
private void exexuteQuery(Connection con) throws SQLException {
139+
private void executeQuery(Connection con) throws SQLException {
140140
try (PreparedStatement st = con.prepareStatement("select 1");
141141
ResultSet rs = st.executeQuery()) {
142142
while (rs.next()) {

0 commit comments

Comments
 (0)