From: Viktor Hofer Date: Mon, 6 May 2019 00:43:14 +0000 (+0200) Subject: Disable GetSchema test on Win7 (dotnet/corefx#37450) X-Git-Tag: submit/tizen/20210909.063632~11031^2~1668 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a87da6c63d40d2b0341e6f28c973ad4edee147df;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Disable GetSchema test on Win7 (dotnet/corefx#37450) Commit migrated from https://github.com/dotnet/corefx/commit/f5c963fabcca42d7f2ad9b3c313d93abe7d3d37a --- 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));