Skip to content
Permalink
Browse files

fix assertion message (#1553)

  • Loading branch information...
davecramer committed Aug 30, 2019
1 parent 56399ef commit ba8294841a2e589e15dfcb79dbd31a83ec615208
Showing with 2 additions and 2 deletions.
  1. +2 −2 pgjdbc/src/test/java/org/postgresql/test/jdbc4/IsValidTest.java
@@ -81,7 +81,7 @@ public void testIsValidRemoteClose() throws Exception {

try {

assertTrue("First Connection should be valid", con.isValid(0));
assertTrue("First connection should be valid", con.isValid(0));

String pid;
Statement s = con.createStatement();
@@ -97,7 +97,7 @@ public void testIsValidRemoteClose() throws Exception {

TestUtil.execute("select pg_terminate_backend(" + pid + ")", con2);

assertFalse("The Second connection should now be invalid", con.isValid(0));
assertFalse("The first connection should now be invalid", con.isValid(0));

} finally {
TestUtil.closeQuietly(con2);

0 comments on commit ba82948

Please sign in to comment.
You can’t perform that action at this time.