From 84400f16ee3d8c89b9052b4d2b68477500b92b36 Mon Sep 17 00:00:00 2001
From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
Date: Fri, 23 Jun 2023 10:33:54 +0200
Subject: [PATCH] Fix for f_CSE_ANNC_RET_002, adding error case

---
 OneM2M_PermutationFunctions.ttcn | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/OneM2M_PermutationFunctions.ttcn b/OneM2M_PermutationFunctions.ttcn
index a0bebce..9a3a2ac 100644
--- a/OneM2M_PermutationFunctions.ttcn
+++ b/OneM2M_PermutationFunctions.ttcn
@@ -10991,6 +10991,10 @@ module OneM2M_PermutationFunctions {
 							tc_ac.stop;
 							setverdict(fail, __SCOPE__, ": Wrong response status code");
 						}
+						[] mcaPort.receive(mw_response(mw_responsePrimitiveKO)) -> value vc_response {
+							tc_ac.stop;
+							setverdict(fail, __SCOPE__, ": RETRIEVE of original resource failed");
+						}
 						[] tc_ac.timeout {
 							setverdict(fail, __SCOPE__, ": No answer while retrieving resource type " & int2str(enum2int(p_resourceType)));
 						}
-- 
GitLab