summaryrefslogtreecommitdiffstats
path: root/msc
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-03-06 15:25:14 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2019-03-07 23:27:37 +0100
commit6b468a493ec6801590fd407eb912a0a23b10765f (patch)
tree30446e28b17acf401a841a61134c5730289b3da7 /msc
parentde76f0554753e0608d353cc31131d6c2e72ddd3a (diff)
msc: as_clear_cmd_compl_disc: log unexpected message
When receiving an unexpected BSSMAP message that fails the test, log it. Change-Id: I5cafac3318a50567f1916ea670af55558e97bf17
Diffstat (limited to 'msc')
-rw-r--r--msc/BSC_ConnectionHandler.ttcn5
1 files changed, 3 insertions, 2 deletions
diff --git a/msc/BSC_ConnectionHandler.ttcn b/msc/BSC_ConnectionHandler.ttcn
index b041007..2cd666f 100644
--- a/msc/BSC_ConnectionHandler.ttcn
+++ b/msc/BSC_ConnectionHandler.ttcn
@@ -776,6 +776,7 @@ runs on BSC_ConnHdlr {
}
/* expect a clear command */
altstep as_clear_cmd_compl_disc(float t := 5.0) runs on BSC_ConnHdlr {
+ var PDU_BSSAP bssap;
[] BSSAP.receive(tr_BSSMAP_ClearCommand) {
BSSAP.send(ts_BSSMAP_ClearComplete);
alt {
@@ -788,8 +789,8 @@ altstep as_clear_cmd_compl_disc(float t := 5.0) runs on BSC_ConnHdlr {
}
}
}
- [] BSSAP.receive {
- setverdict(fail, "Unexpected BSSMAP while waiting for ClearCommand");
+ [] BSSAP.receive(tr_BSSAP_BSSMAP) -> value bssap {
+ setverdict(fail, "Unexpected BSSMAP while waiting for ClearCommand", bssap);
mtc.stop;
}
}