Skip to content

Commit

Permalink
Test | Do not check IsUsingManagedSNI in NonAzureNoProtocolConnection…
Browse files Browse the repository at this point in the history
…TestWindows for netfx #1410 (#1533)
  • Loading branch information
Kaur-Parminder authored May 5, 2022
1 parent 5174cc0 commit be9731c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ static TcpDefaultForAzureTest()
public static void NonAzureNoProtocolConnectionTestWindows()
{
builder.DataSource = InvalidHostname;
#if NETFRAMEWORK
CheckConnectionFailure(builder.ConnectionString, NP);
#else
CheckConnectionFailure(builder.ConnectionString, DataTestUtility.IsUsingManagedSNI() ? TCP : NP);
#endif
}

[ConditionalFact(typeof(DataTestUtility), nameof(DataTestUtility.AreConnStringsSetup), nameof(DataTestUtility.IsNotAzureSynapse))]
Expand Down

0 comments on commit be9731c

Please sign in to comment.