You've already forked linux-packaging-mono
Imported Upstream version 5.14.0.87
Former-commit-id: c3343e9add11acc574a2fbf8a043908a2124b8f6
This commit is contained in:
parent
ee1763fb41
commit
ac4ce81c31
@@ -14,8 +14,9 @@ namespace MonoTests.System.Threading.Tasks
|
||||
[Test]
|
||||
public void PrincipalFlowsToAsyncTask ()
|
||||
{
|
||||
var t = _PrincipalFlowsToAsyncTask();
|
||||
t.GetAwaiter().GetResult();
|
||||
/* run in different thread to work around problems on platforms
|
||||
* where SynchronizationContext is set (e.g. Xamarin.iOS) */
|
||||
Assert.IsTrue (Task.Run (async () => await _PrincipalFlowsToAsyncTask ()).Wait (5000));
|
||||
}
|
||||
|
||||
public async Task _PrincipalFlowsToAsyncTask ()
|
||||
|
Reference in New Issue
Block a user