From a87da6c63d40d2b0341e6f28c973ad4edee147df Mon Sep 17 00:00:00 2001 From: Viktor Hofer Date: Mon, 6 May 2019 02:43:14 +0200 Subject: [PATCH] Disable GetSchema test on Win7 (dotnet/corefx#37450) Commit migrated from https://github.com/dotnet/corefx/commit/f5c963fabcca42d7f2ad9b3c313d93abe7d3d37a --- src/libraries/System.Data.OleDb/tests/OleDbConnectionTests.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libraries/System.Data.OleDb/tests/OleDbConnectionTests.cs b/src/libraries/System.Data.OleDb/tests/OleDbConnectionTests.cs index 85380ce..259bdd2 100644 --- a/src/libraries/System.Data.OleDb/tests/OleDbConnectionTests.cs +++ b/src/libraries/System.Data.OleDb/tests/OleDbConnectionTests.cs @@ -119,6 +119,11 @@ namespace System.Data.OleDb.Tests [InlineData(nameof(DbMetaDataCollectionNames.DataTypes), "TypeName")] public void GetSchema(string tableName, string columnName) { + if (PlatformDetection.IsWindows7) + { + return; // [ActiveIssue(37438)] + } + DataTable schema = connection.GetSchema(tableName); Assert.True(schema != null && schema.Rows.Count > 0); var exception = Record.Exception(() => schema.Rows[0].Field(columnName)); -- 2.7.4