Skip to content

Commit bfb2579

Browse files
authored
CertificateTests are broken (#2805)
1 parent a852709 commit bfb2579

File tree

1 file changed

+3
-1
lines changed
  • src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert

1 file changed

+3
-1
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/ConnectionTestWithSSLCert/CertificateTest.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ private static bool IsLocalHost()
9292
private static bool IsNotAzureServer() => DataTestUtility.IsNotAzureServer();
9393
private static bool UseManagedSNIOnWindows() => DataTestUtility.UseManagedSNIOnWindows;
9494

95+
[ActiveIssue("31754")]
9596
[ConditionalFact(nameof(AreConnStringsSetup), nameof(IsNotAzureServer), nameof(IsLocalHost))]
9697
[PlatformSpecific(TestPlatforms.Windows)]
9798
public void OpenningConnectionWithGoodCertificateTest()
@@ -121,6 +122,7 @@ public void OpenningConnectionWithGoodCertificateTest()
121122

122123
// Provided hostname in certificate are:
123124
// localhost, FQDN, Loopback IPv4: 127.0.0.1, IPv6: ::1
125+
[ActiveIssue("31754")]
124126
[ConditionalFact(nameof(AreConnStringsSetup), nameof(IsNotAzureServer), nameof(IsLocalHost))]
125127
[PlatformSpecific(TestPlatforms.Windows)]
126128
public void OpeningConnectionWitHNICTest()
@@ -164,7 +166,7 @@ public void OpeningConnectionWitHNICTest()
164166
}
165167
}
166168

167-
[ActiveIssue("26934")]
169+
[ActiveIssue("31754")]
168170
[ConditionalFact(nameof(AreConnStringsSetup), nameof(UseManagedSNIOnWindows), nameof(IsNotAzureServer), nameof(IsLocalHost))]
169171
[PlatformSpecific(TestPlatforms.Windows)]
170172
public void RemoteCertificateNameMismatchErrorTest()

0 commit comments

Comments
 (0)