diff --git a/src/test/java/com/microsoft/sqlserver/jdbc/socketfactory/CustomSocketFactoryTest.java b/src/test/java/com/microsoft/sqlserver/jdbc/socketfactory/CustomSocketFactoryTest.java index 120555c7f..372acd238 100644 --- a/src/test/java/com/microsoft/sqlserver/jdbc/socketfactory/CustomSocketFactoryTest.java +++ b/src/test/java/com/microsoft/sqlserver/jdbc/socketfactory/CustomSocketFactoryTest.java @@ -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()); } /** @@ -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)); }