From f48e11e523f6c27c1ff2dcb617d0c48affc8fd6b Mon Sep 17 00:00:00 2001 From: jose_morato Date: Wed, 18 Dec 2024 10:48:49 +0100 Subject: [PATCH] Do not wait for acknowledgments --- Tests/OpenDDSharp.UnitTest/DataReaderCDRTest.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/OpenDDSharp.UnitTest/DataReaderCDRTest.cs b/Tests/OpenDDSharp.UnitTest/DataReaderCDRTest.cs index 27665b8e..ef53560c 100644 --- a/Tests/OpenDDSharp.UnitTest/DataReaderCDRTest.cs +++ b/Tests/OpenDDSharp.UnitTest/DataReaderCDRTest.cs @@ -1909,8 +1909,8 @@ public void TestReadNextInstance() result = dataWriter.Write(new TestInclude { Id = i.ToString() }); Assert.AreEqual(ReturnCode.Ok, result); - result = dataWriter.WaitForAcknowledgments(duration); - Assert.AreEqual(ReturnCode.Ok, result); + // result = dataWriter.WaitForAcknowledgments(duration); + // Assert.AreEqual(ReturnCode.Ok, result); Assert.IsTrue(evt.Wait(1_500)); @@ -1920,8 +1920,8 @@ public void TestReadNextInstance() result = dataWriter.Write(new TestInclude { Id = i.ToString(), ShortField = i }); Assert.AreEqual(ReturnCode.Ok, result); - result = dataWriter.WaitForAcknowledgments(duration); - Assert.AreEqual(ReturnCode.Ok, result); + // result = dataWriter.WaitForAcknowledgments(duration); + // Assert.AreEqual(ReturnCode.Ok, result); Assert.IsTrue(evt.Wait(1_500)); }