Skip to content

Commit f1308f0

Browse files
authored
Disable odbc tests on net9 interpreter (#117245)
1 parent 74b6c76 commit f1308f0

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

src/libraries/System.Data.Odbc/tests/CommandBuilderTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ namespace System.Data.Odbc.Tests
77
{
88
public class CommandBuilderTests : IntegrationTestBase
99
{
10+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
1011
[ConditionalFact]
1112
public void QuoteIdentifier_UseConnection()
1213
{
@@ -36,6 +37,7 @@ public void QuoteIdentifier_UseConnection()
3637
Assert.Throws<InvalidOperationException>(() => commandBuilder.UnquoteIdentifier("Test"));
3738
}
3839

40+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
3941
[ConditionalFact]
4042
public void QuoteIdentifier_CustomPrefixSuffix()
4143
{

src/libraries/System.Data.Odbc/tests/ConnectionTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ namespace System.Data.Odbc.Tests
99
{
1010
public class ConnectionTests : IntegrationTestBase
1111
{
12+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
1213
// Bug #96278 fixed only on .NET, not on .NET Framework
1314
[ConditionalFact]
1415
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework)]

src/libraries/System.Data.Odbc/tests/DependencyCheckTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace System.Data.Odbc.Tests
88
public class DependencyCheckTest
99
{
1010
[ConditionalFact(Helpers.OdbcNotAvailable)]
11+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
1112
public void OdbcConnection_OpenWhenOdbcNotInstalled_ThrowsException()
1213
{
1314
if (PlatformDetection.IsWindowsServerCore && !Environment.Is64BitProcess)

src/libraries/System.Data.Odbc/tests/ReaderTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace System.Data.Odbc.Tests
88
{
99
public class ReaderTests : IntegrationTestBase
1010
{
11+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
1112
[ConditionalFact]
1213
public void EmptyReader()
1314
{
@@ -42,6 +43,7 @@ public void EmptyReader()
4243
}
4344
}
4445

46+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
4547
[ConditionalFact]
4648
public void GetValues()
4749
{
@@ -75,6 +77,7 @@ public void GetValues()
7577
}
7678
}
7779

80+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
7881
[ConditionalFact]
7982
public void GetValueFailsWithBigIntWithBackwardsCompatibility()
8083
{
@@ -110,6 +113,7 @@ public void GetValueFailsWithBigIntWithBackwardsCompatibility()
110113
}
111114
}
112115

116+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
113117
[ConditionalFact]
114118
public void GetDataTypeName()
115119
{
@@ -136,6 +140,7 @@ public void GetDataTypeName()
136140
}
137141
}
138142

143+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
139144
[ConditionalFact]
140145
public void GetFieldTypeIsNotSupportedInSqlite()
141146
{
@@ -167,6 +172,7 @@ public void GetFieldTypeIsNotSupportedInSqlite()
167172
}
168173
}
169174

175+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
170176
[ConditionalFact]
171177
public void IsDbNullIsNotSupportedInSqlite()
172178
{
@@ -198,6 +204,7 @@ public void IsDbNullIsNotSupportedInSqlite()
198204
}
199205
}
200206

207+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
201208
[ConditionalFact]
202209
public void InvalidRowIndex()
203210
{
@@ -230,6 +237,7 @@ public void InvalidRowIndex()
230237
}
231238
}
232239

240+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
233241
[ConditionalFact]
234242
public void InvalidRowName()
235243
{

src/libraries/System.Data.Odbc/tests/SmokeTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ namespace System.Data.Odbc.Tests
77
{
88
public class SmokeTest : IntegrationTestBase
99
{
10+
[ActiveIssue("https://github.com/dotnet/runtime/issues/116482", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoInterpreter))]
1011
[ConditionalFact]
1112
public void CreateInsertSelectTest()
1213
{

0 commit comments

Comments
 (0)