Skip to content

Commit

Permalink
[misc] test stability correction
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Oct 5, 2024
1 parent 3657cd6 commit a788d40
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,7 @@ public void masterFailover() throws Exception {
ResultSet rs = stmt.executeQuery("SELECT @con");
if (rs.next()) {
System.out.println("Resultset res:" + rs.getString(1));
}
fail("must have thrown exception");
} else fail("must have thrown exception");
} catch (SQLTransientConnectionException e) {
assertTrue(e.getMessage().contains("In progress transaction was lost"));
}
Expand Down

0 comments on commit a788d40

Please sign in to comment.