Skip to content

Commit

Permalink
Fixed test for mfa
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmartinezramirez committed Sep 4, 2024
1 parent f133cfe commit 6af9d1a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 6af9d1a

Please sign in to comment.