dexter has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43766?usp=email )

Change subject: eIM_Tests: display (JSON/ASN.1) in ESipa error messages
......................................................................

eIM_Tests: display (JSON/ASN.1) in ESipa error messages

When there is an unexpected response from the eIM on the ESipa
interface, let's add a hint whether it is a conflict with a
JSON or ASN.1 encoded message.

Related: SYS#8203
Change-Id: Iaf6e4b1f8e4fff5e4a1db7b36b6a62119f8f37b7
---
M eim/eIM_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  dexter: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/eim/eIM_Tests.ttcn b/eim/eIM_Tests.ttcn
index 410fb25..7888885 100644
--- a/eim/eIM_Tests.ttcn
+++ b/eim/eIM_Tests.ttcn
@@ -445,7 +445,7 @@
                        esipa_res := 
dec_EsipaMessageFromEimToIpa(response_http.response_binary.body);
                        if (not istemplatekind(expected_esipa_res, "omit")) {
                                if (not match(valueof(esipa_res), 
expected_esipa_res)) {
-                                       setverdict(fail, "unexpected response 
from eIM on ESipa");
+                                       setverdict(fail, "unexpected response 
(ASN.1) from eIM on ESipa");
                                }
                        }
                        return esipa_res;
@@ -459,7 +459,7 @@
                        esipa_res := esipa_res_wrap.asn1_pdu;
                        if (not istemplatekind(expected_esipa_res, "omit")) {
                                if (not match(valueof(esipa_res), 
expected_esipa_res)) {
-                                       setverdict(fail, "unexpected response 
from eIM on ESipa");
+                                       setverdict(fail, "unexpected response 
(JSON) from eIM on ESipa");
                                }
                        }
                        return esipa_res;

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43766?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iaf6e4b1f8e4fff5e4a1db7b36b6a62119f8f37b7
Gerrit-Change-Number: 43766
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: jolly <[email protected]>

Reply via email to