bsc CBSP: add numerous mtc.stop after fail verdicts
I found that I had to wait 30 seconds after a failure verdict.
Change-Id: I8314c53037948fae51028119c81ea247baed44ec
diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn
index 56e522a..acd0b99 100644
--- a/bsc/BSC_Tests_CBSP.ttcn
+++ b/bsc/BSC_Tests_CBSP.ttcn
@@ -120,6 +120,7 @@
}
[] T.timeout {
setverdict(fail, "Timeout waiting for incoming connection to CBSP Port");
+ mtc.stop;
}
}
f_cbsp_init_tail();
@@ -183,6 +184,7 @@
}
[] CBSP[0].receive(tr_CBSP_Recv(g_cbsp_conn_id[0], ?)) {
setverdict(fail, "Received unexpected CBSP");
+ mtc.stop;
}
}
}
@@ -212,6 +214,7 @@
}
[] CBSP[0].receive(tr_CBSP_Recv(g_cbsp_conn_id[0], ?)) {
setverdict(fail, "Received unexpected CBSP");
+ mtc.stop;
}
}
}
@@ -243,6 +246,7 @@
}
[] CBSP[0].receive(tr_CBSP_Recv(g_cbsp_conn_id[0], ?)) {
setverdict(fail, "Received unexpected CBSP");
+ mtc.stop;
}
}
}
@@ -270,6 +274,7 @@
}
[] CBSP[0].receive(tr_CBSP_Recv(g_cbsp_conn_id[0], ?)) {
setverdict(fail, "Received unexpected CBSP");
+ mtc.stop;
}
}
}
@@ -573,10 +578,12 @@
}
[] IPA_RSL[0].receive(tr_ASP_RSL_UD(tr_RSL_OSMO_ETWS_CMD(?,?))) {
setverdict(fail, "Received unexpected OSMO_ETWS_CMD");
+ mtc.stop;
}
[] IPA_RSL[0].receive { repeat; }
[] T.timeout {
setverdict(fail, "Timeout waiting for RSL_OSMO_ETWS_CMD");
+ mtc.stop;
}
}
}
@@ -602,10 +609,12 @@
}
[] IPA_RSL[0].receive(tr_ASP_RSL_UD(tr_RSL_OSMO_ETWS_CMD(?,?))) {
setverdict(fail, "Received unexpected OSMO_ETWS_CMD");
+ mtc.stop;
}
[] IPA_RSL[0].receive { repeat; }
[] T.timeout {
setverdict(fail, "Timeout waiting for RSL_OSMO_ETWS_CMD (enable)");
+ mtc.stop;
}
}
@@ -617,10 +626,12 @@
}
[] IPA_RSL[0].receive(tr_ASP_RSL_UD(tr_RSL_OSMO_ETWS_CMD(?,?))) {
setverdict(fail, "Received unexpected OSMO_ETWS_CMD");
+ mtc.stop;
}
[] IPA_RSL[0].receive { repeat; }
[] T.timeout {
setverdict(fail, "Timeout waiting for RSL_OSMO_ETWS_CMD (disable)");
+ mtc.stop;
}
}
}