Skip to content

Commit

Permalink
[hotfix][jdbc] Fix typo in UnsignedTypeConversionITCase
Browse files Browse the repository at this point in the history
This closes apache#14876 

Co-authored-by: xiaozilong <[email protected]>
  • Loading branch information
V1ncentzzZ and xiaozilong authored Feb 7, 2021
1 parent 2d40387 commit 8e69b2f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static void prepareMariaDB() throws IllegalStateException {
}
}
} catch (Exception e) {
logger.warn("Initialize DB fail caused by {}", e);
logger.warn("Initialize DB failed.", e);
stopDb();
}
if (initDbSuccess) {
Expand All @@ -106,7 +106,7 @@ public static void prepareMariaDB() throws IllegalStateException {
if (!initDbSuccess) {
throw new IllegalStateException(
String.format(
"Initialize MySQL database instance failed after %s attempts,"
"Initialize MySQL database instance failed after %d attempts,"
+ " please open an issue.",
INITIALIZE_DB_MAX_RETRY));
}
Expand Down Expand Up @@ -249,7 +249,7 @@ private static void stopDb() {
try {
db.stop();
} catch (ManagedProcessException e1) {
logger.warn("Stop DB instance fail caused by {}", e1);
logger.warn("Stop DB instance failed.", e1);
}
}
}

0 comments on commit 8e69b2f

Please sign in to comment.