public override void RunTestCase(IRemoteObjectAdapterPrx adapter, ITestIntfPrx proxy) { proxy.Sleep(4); lock (Mutex) { TestHelper.Assert(Heartbeat >= 4); } }
public override Task RunTestCaseAsync(IRemoteObjectAdapterPrx adapter, ITestIntfPrx proxy) { proxy.Sleep(4); lock (Mutex) { TestHelper.Assert(Heartbeat >= 2); TestHelper.Assert(!Closed); } return(Task.CompletedTask); }