mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-14 15:51:43 +01:00
Troubleshooting EmbargoServer TC
This commit is contained in:
parent
b23cc54491
commit
44fd4edfe9
@ -773,8 +773,7 @@ namespace Capnp.Net.Runtime.Tests
|
|||||||
}
|
}
|
||||||
|
|
||||||
var cap = new TestCallOrderImpl();
|
var cap = new TestCallOrderImpl();
|
||||||
using (Skeleton.Claim(cap))
|
cap.CountToDispose = 6;
|
||||||
{
|
|
||||||
var earlyCall = main.GetCallSequence(0, default);
|
var earlyCall = main.GetCallSequence(0, default);
|
||||||
|
|
||||||
var echo = main.Echo(cap, default);
|
var echo = main.Echo(cap, default);
|
||||||
@ -809,8 +808,6 @@ namespace Capnp.Net.Runtime.Tests
|
|||||||
Assert.AreEqual(4u, call4.Result);
|
Assert.AreEqual(4u, call4.Result);
|
||||||
Assert.AreEqual(5u, call5.Result);
|
Assert.AreEqual(5u, call5.Result);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -514,8 +514,11 @@ namespace Capnp.Net.Runtime.Tests.GenImpls
|
|||||||
|
|
||||||
public uint Count { get; set; }
|
public uint Count { get; set; }
|
||||||
|
|
||||||
|
public uint? CountToDispose { get; set; }
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
Assert.IsTrue(!CountToDispose.HasValue || Count == CountToDispose, "Must not dispose at this point");
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task<uint> GetCallSequence(uint expected, CancellationToken cancellationToken_)
|
public Task<uint> GetCallSequence(uint expected, CancellationToken cancellationToken_)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user