From cd995762a5ddebae0076fef0beba7901769828ec Mon Sep 17 00:00:00 2001 From: Mario Mastrodicasa Date: Thu, 11 Mar 2021 17:42:46 +0100 Subject: [PATCH] Test update to correct behavior of operator == --- tests/ManagerTestJava/src/DataDistributionManagerJavaTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ManagerTestJava/src/DataDistributionManagerJavaTest.java b/tests/ManagerTestJava/src/DataDistributionManagerJavaTest.java index cded3139..68153a56 100644 --- a/tests/ManagerTestJava/src/DataDistributionManagerJavaTest.java +++ b/tests/ManagerTestJava/src/DataDistributionManagerJavaTest.java @@ -108,7 +108,7 @@ else if (direction == DDM_CHANNEL_DIRECTION.RECEIVER) hRes = HRESULT.S_OK; if (direction == DDM_CHANNEL_DIRECTION.TRANSMITTER) { hRes = mytestTopic.WriteOnChannel(str); - if (hRes == HRESULT.S_OK) { + if (hRes.getSuccess()) { str = String.format("%d", counter++); if ((counter % THRESHOLD) == 0) { String key = String.format("SendData Reached %d", counter);