Skip to content

Commit c97b74a

Browse files
MichelZbenrr101
authored andcommitted
Activate LocalDBTest, make sure Local DB is present. They run fine
1 parent 4aa1123 commit c97b74a

File tree

1 file changed

+3
-6
lines changed
  • src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/LocalDBTest

1 file changed

+3
-6
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/LocalDBTest/LocalDBTest.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,24 +92,21 @@ public static void SqlLocalDbSharedInstanceConnectionTest()
9292

9393
#region NamedPipeTests
9494

95-
[Fact]
96-
[ActiveIssue("20245")] //pending pipeline configuration
95+
[ConditionalFact(nameof(IsLocalDBEnvironmentSet))]
9796
public static void SqlLocalDbNamedPipeConnectionTest()
9897
{
9998
ConnectionTest(s_localDbNamedPipeConnectionString);
10099
}
101100

102-
[Fact]
103-
[ActiveIssue("20245")] //pending pipeline configuration
101+
[ConditionalFact(nameof(IsLocalDBEnvironmentSet))]
104102
public static void LocalDBNamedPipeEncryptionNotSupportedTest()
105103
{
106104
// Encryption is not supported by SQL Local DB.
107105
// But connection should succeed as encryption is disabled by driver.
108106
ConnectionWithEncryptionTest(s_localDbNamedPipeConnectionString);
109107
}
110108

111-
[Fact]
112-
[ActiveIssue("20245")] //pending pipeline configuration
109+
[ConditionalFact(nameof(IsLocalDBEnvironmentSet))]
113110
public static void LocalDBNamepipeMarsTest()
114111
{
115112
ConnectionWithMarsTest(s_localDbNamedPipeConnectionString);

0 commit comments

Comments
 (0)