Update IconCodecTests.cs (#40076)
authorDan Moseley <danmose@microsoft.com>
Tue, 6 Aug 2019 20:59:23 +0000 (13:59 -0700)
committerViktor Hofer <viktor.hofer@microsoft.com>
Tue, 3 Sep 2019 15:40:00 +0000 (17:40 +0200)
```
Error message
System.ArgumentException : Parameter is not valid.

Stack trace
   at System.Drawing.Bitmap..ctor(String filename)
   at MonoTests.System.Drawing.Imaging.IconCodecTest.Bitmap16Features_Palette_Entries_Windows() in /_/src/System.Drawing.Common/tests/mono/System.Drawing.Imaging/IconCodecTests.cs:line 15
```

src/System.Drawing.Common/tests/mono/System.Drawing.Imaging/IconCodecTests.cs

index 9f910cc..6977943 100644 (file)
@@ -148,6 +148,7 @@ namespace MonoTests.System.Drawing.Imaging
 
         [PlatformSpecific(TestPlatforms.Windows)]
         [ConditionalFact(Helpers.IsDrawingSupported)]
+        [SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Flaky - ArgumentException")]
         public void Bitmap16Features_Palette_Entries_Windows()
         {
             string sInFile = Helpers.GetTestBitmapPath("48x48_multiple_entries_4bit.ico");