From f674e864d28d35b8e436917c174387b36d1aa439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Hofman?= Date: Thu, 2 Nov 2023 14:37:40 +0100 Subject: [PATCH] Add missing close to fix flaky tests --- Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolIT.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolIT.cs b/Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolIT.cs index ae4162c65..8baea38a2 100644 --- a/Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/SFConnectionPoolIT.cs @@ -427,6 +427,7 @@ void ThreadProcess2(string connstr) SFBaseResultSet resultSet = statement.Execute(0, "select 1", null, false); Assert.AreEqual(true, resultSet.Next()); Assert.AreEqual("1", resultSet.GetString(0)); + conn1.Close(); SnowflakeDbConnectionPool.ClearAllPools(); SnowflakeDbConnectionPool.SetMaxPoolSize(0); SnowflakeDbConnectionPool.SetPooling(false);