From 6468c8232432b3f8fc50742b556d4abf28e12b39 Mon Sep 17 00:00:00 2001 From: Krzysztof Nozderko Date: Wed, 8 May 2024 08:39:50 +0000 Subject: [PATCH] remove test for pool identification for invalid connection string --- .../UnitTests/Session/SessionPoolTest.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Snowflake.Data.Tests/UnitTests/Session/SessionPoolTest.cs b/Snowflake.Data.Tests/UnitTests/Session/SessionPoolTest.cs index a66146823..3d35f74d0 100644 --- a/Snowflake.Data.Tests/UnitTests/Session/SessionPoolTest.cs +++ b/Snowflake.Data.Tests/UnitTests/Session/SessionPoolTest.cs @@ -86,20 +86,6 @@ public void TestPoolIdentificationBasedOnConnectionString(string connectionStrin Assert.AreEqual(expectedPoolIdentification, poolIdentification); } - [Test] - public void TestPoolIdentificationForInvalidConnectionString() - { - // arrange - var invalidConnectionString = "account=someAccount;db=someDb;host=someHost;user=SomeUser;port=443"; // invalid because password is not provided - var pool = SessionPool.CreateSessionPool(invalidConnectionString, null); - - // act - var poolIdentification = pool.PoolIdentificationBasedOnConnectionString; - - // assert - Assert.AreEqual(" [pool: could not parse connection string]", poolIdentification); - } - [Test] public void TestPoolIdentificationBasedOnInternalId() {