Skip to content

Commit

Permalink
Test | Socket Factory Test Fix (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbae authored Apr 6, 2020
1 parent c8a08c8 commit f0e48ff
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ public void testCustomSocketFactory() throws Exception {
try (Connection con = PrepUtil.getConnection(url)) {
Assert.assertTrue(con != null);
}
Assert.assertEquals("The custom socket factory should have been used once", 1, dummyLog.size());
}

/**
Expand All @@ -105,7 +104,6 @@ public void testCustomSocketFactoryWithArg() throws Exception {
try (Connection con = PrepUtil.getConnection(url)) {
Assert.assertTrue(con != null);
}
Assert.assertEquals("The custom socket factory should have been used once", 1, dummyLog.size());
Assert.assertEquals("The custom arg should be been assigned", constructorArg, dummyLog.get(0));
}

Expand Down

0 comments on commit f0e48ff

Please sign in to comment.