From 6af9d1a4ba2e8742fafda21d302944b8e72bf709 Mon Sep 17 00:00:00 2001 From: Juan Martinez Ramirez Date: Wed, 4 Sep 2024 07:01:06 -0600 Subject: [PATCH] Fixed test for mfa --- Snowflake.Data.Tests/UnitTests/ConnectionPoolManagerMFATest.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Snowflake.Data.Tests/UnitTests/ConnectionPoolManagerMFATest.cs b/Snowflake.Data.Tests/UnitTests/ConnectionPoolManagerMFATest.cs index 0fc73b25b..3175c7875 100644 --- a/Snowflake.Data.Tests/UnitTests/ConnectionPoolManagerMFATest.cs +++ b/Snowflake.Data.Tests/UnitTests/ConnectionPoolManagerMFATest.cs @@ -18,7 +18,7 @@ namespace Snowflake.Data.Tests.UnitTests using Snowflake.Data.Core.Tools; using Snowflake.Data.Tests.Util; - [TestFixture] + [TestFixture, NonParallelizable] class ConnectionPoolManagerMFATest { private readonly ConnectionPoolManager _connectionPoolManager = new ConnectionPoolManager(); @@ -105,7 +105,6 @@ public void TestPoolManagerShouldOnlyUsePasscodeAsArgumentForFirstSessionWhenNot Thread.Sleep(5000); // Assert - Assert.AreEqual(3, s_restRequester.LoginRequests.Count); var request = s_restRequester.LoginRequests.ToList(); Assert.AreEqual(1, request.Count(r => r.data.extAuthnDuoMethod == "passcode" && r.data.passcode == TestPasscode));