From 3db47e50eb062a95b8e89fe8b18733e38782c8dc Mon Sep 17 00:00:00 2001 From: lilgreenbird Date: Tue, 2 Jul 2024 11:28:59 -0700 Subject: [PATCH] Update enclave testing to 3 servers only (#2462) --- .../com/microsoft/sqlserver/jdbc/EnclavePackageTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/java/com/microsoft/sqlserver/jdbc/EnclavePackageTest.java b/src/test/java/com/microsoft/sqlserver/jdbc/EnclavePackageTest.java index d2ed9d088..5f3c1165c 100644 --- a/src/test/java/com/microsoft/sqlserver/jdbc/EnclavePackageTest.java +++ b/src/test/java/com/microsoft/sqlserver/jdbc/EnclavePackageTest.java @@ -230,7 +230,7 @@ public static void testBasicConnection(String cString, String protocol) throws E AbstractTest.updateDataSource(cString, dsPool); try (Connection con1 = dsLocal.getConnection(); Connection con2 = dsXA.getConnection(); - Connection con3 = dsPool.getConnection(); Connection con4 = PrepUtil.getConnection(cString)) { + Connection con3 = dsPool.getConnection()) { if (TestUtils.isAEv2(con1)) { verifyEnclaveEnabled(con1, protocol); } @@ -240,9 +240,6 @@ public static void testBasicConnection(String cString, String protocol) throws E if (TestUtils.isAEv2(con3)) { verifyEnclaveEnabled(con3, protocol); } - if (TestUtils.isAEv2(con4)) { - verifyEnclaveEnabled(con4, protocol); - } } }