diff --git a/Snowflake.Data.Tests/App.config b/Snowflake.Data.Tests/App.config index a7920fad2..d37d98ef5 100755 --- a/Snowflake.Data.Tests/App.config +++ b/Snowflake.Data.Tests/App.config @@ -21,7 +21,7 @@ Copyright (c) 2012-2017 Snowflake Computing Inc. All rights reserved. - + @@ -31,7 +31,7 @@ Copyright (c) 2012-2017 Snowflake Computing Inc. All rights reserved. - + diff --git a/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs b/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs index 5efe2f14c..bd3451a7d 100644 --- a/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs @@ -58,7 +58,6 @@ public void TestBasicConnection() conn.Close(); Assert.AreEqual(ConnectionState.Closed, conn.State); - SnowflakeDbConnectionPool.SetPooling(pooling); } } @@ -1765,7 +1764,6 @@ public void TestAsyncLoginTimeout() [Test, NonParallelizable] public void TestAsyncDefaultLoginTimeout() { - SnowflakeDbConnectionPool.SetPooling(false); using (var conn = new MockSnowflakeDbConnection()) { // unlimited retry count to trigger the timeout diff --git a/Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolT.cs b/Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolT.cs index 89e297fe9..4a2e5fdf0 100644 --- a/Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolT.cs @@ -16,26 +16,11 @@ namespace Snowflake.Data.Tests.IntegrationTests using System.Data.Common; using Moq; - public PoolConfig() - { - _maxPoolSize = SnowflakeDbConnectionPool.GetMaxPoolSize(); - _timeout = SnowflakeDbConnectionPool.GetTimeout(); - _pooling = SnowflakeDbConnectionPool.GetPooling(); - } - - public void Reset() - { - SnowflakeDbConnectionPool.SetMaxPoolSize(_maxPoolSize); - SnowflakeDbConnectionPool.SetTimeout(_timeout); - SnowflakeDbConnectionPool.SetPooling(_pooling); - } - } - [TestFixture, NonParallelizable] class SFConnectionPoolT : SFBaseTest { private static readonly PoolConfig s_previousPoolConfig = new PoolConfig(); - + [SetUp] public void BeforeTest() {