You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.165
Former-commit-id: c6e6b03cec90c4dd70c04a5952c6004f0a246b30
This commit is contained in:
parent
6b5644868c
commit
9453585fa5
@ -36,6 +36,7 @@ namespace MonoTests.System.Runtime.Remoting
|
||||
appDomainObject.Init(crossDomainSerializedObject);
|
||||
}
|
||||
|
||||
#if !MOBILE
|
||||
[Test]
|
||||
public void Bug46473 () // concurrent serialization/deserialization
|
||||
{
|
||||
@ -48,13 +49,9 @@ namespace MonoTests.System.Runtime.Remoting
|
||||
var name = "AppDomainWithCall" + i;
|
||||
tasks [i] = Task.Factory.StartNew(() => AppDomainWithRemotingSerialization(assembly, name));
|
||||
}
|
||||
try {
|
||||
Task.WaitAll (tasks);
|
||||
} catch (AggregateException e) {
|
||||
success = false;
|
||||
Console.WriteLine ($"{e}, {e.InnerException}");
|
||||
}
|
||||
Assert.IsTrue (success, "Bug46473 (exception during remoting call)");
|
||||
|
||||
Assert.IsTrue (Task.WaitAll (tasks, 5000));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user