mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-04-21 02:26:31 +02:00
Test troubleshooting
This commit is contained in:
parent
828503e919
commit
ee974940c0
@ -446,6 +446,7 @@ namespace Capnp.Net.Runtime.Tests
|
||||
Assert.IsTrue(resolving.WhenResolved.Wait(MediumNonDbgTimeout));
|
||||
|
||||
var cap = new TestCallOrderImpl();
|
||||
cap.CountToDispose = 6;
|
||||
|
||||
var earlyCall = main.GetCallSequence(0, default);
|
||||
|
||||
|
@ -193,9 +193,19 @@ namespace Capnp.Rpc
|
||||
|
||||
try
|
||||
{
|
||||
if (!_acceptorThread.Join(500))
|
||||
try
|
||||
{
|
||||
Logger.LogError("Unable to join TCP acceptor thread within timeout");
|
||||
if (!_acceptorThread.Join(500))
|
||||
{
|
||||
Logger.LogError("Unable to join TCP acceptor thread within timeout");
|
||||
}
|
||||
}
|
||||
catch (ThreadStateException)
|
||||
{
|
||||
}
|
||||
catch (System.Exception exception)
|
||||
{
|
||||
Logger.LogError($"Unable to join TCP acceptor thread: {exception.Message}");
|
||||
}
|
||||
}
|
||||
catch (ThreadStateException)
|
||||
|
Loading…
x
Reference in New Issue
Block a user