Skip to content

Commit

Permalink
remove test for pool identification for invalid connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed May 8, 2024
1 parent 6d6cc81 commit 6468c82
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Snowflake.Data.Tests/UnitTests/Session/SessionPoolTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 6468c82

Please sign in to comment.