Skip to content

Commit

Permalink
Add missing close to fix flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mhofman committed Nov 2, 2023
1 parent 5a9c157 commit f674e86
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f674e86

Please sign in to comment.