From 2bda7dda54e5ed7232d328e3ba996aed96ba7367 Mon Sep 17 00:00:00 2001 From: "eunok.shin" Date: Tue, 4 Oct 2016 17:35:49 +0900 Subject: [PATCH] fix TC fail issue Change-Id: Ib378acbee3db935aeb308742899039ee798662b8 Signed-off-by: eunok.shin Reviewed-on: https://gerrit.iotivity.org/gerrit/12751 Reviewed-by: Yeonghun Nam Tested-by: jenkins-iotivity Reviewed-by: Jee Hyeok Kim --- .../org/iotivity/cloud/rdserver/resources/directory/RDManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloud/resourcedirectory/src/main/java/org/iotivity/cloud/rdserver/resources/directory/RDManager.java b/cloud/resourcedirectory/src/main/java/org/iotivity/cloud/rdserver/resources/directory/RDManager.java index 55b74b6..881eead 100644 --- a/cloud/resourcedirectory/src/main/java/org/iotivity/cloud/rdserver/resources/directory/RDManager.java +++ b/cloud/resourcedirectory/src/main/java/org/iotivity/cloud/rdserver/resources/directory/RDManager.java @@ -176,6 +176,10 @@ public class RDManager { } if (!foundRecord.isEmpty()) { + // set resource presence + for (HashMap record : foundRecord) { + record.put(Constants.TRIGGER, Constants.RES_DELETE); + } setmResourcePresence(foundRecord); } } -- 2.7.4