Merge pull request #3796 from ntherning/windows-backend-for-MemoryMappedFile
[mono.git] / mcs / class / corlib / Test / System.Runtime.CompilerServices / TaskAwaiterTest.cs
index c9d7aca855bc8a1fa9eb64ccd193d34715fd6e38..6a6ecc0b36d66e4bb24febc722b64536c5935179 100644 (file)
@@ -247,8 +247,8 @@ namespace MonoTests.System.Runtime.CompilerServices
                        return res.Result;
                }
 
-#if !MOBILE_STATIC
                [Test]
+               [Ignore ("Incompatible with nunitlite")]
                public void FinishedTaskOnCompleted ()
                {
                        var mres = new ManualResetEvent (false);
@@ -268,12 +268,10 @@ namespace MonoTests.System.Runtime.CompilerServices
 
                        mres.Set ();
                        // this will only terminate correctly if the test was not executed from the main thread
-                       // e.g. Touch.Unit defaults to run tests on the main thread and this will return false
+                       // e.g. nunitlite/Touch.Unit defaults to run tests on the main thread and this will return false
                        Assert.AreEqual (Thread.CurrentThread.IsBackground, mres2.WaitOne (2000), "#2");;
                }
 
-#endif
-
                [Test]
                public void CompletionOnSameCustomSynchronizationContext ()
                {