Change in osmo-ttcn3-hacks[master]: bsc CBSP: add numerous mtc.stop after fail verdicts

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Tue Jul 28 23:48:59 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19431 )


Change subject: bsc CBSP: add numerous mtc.stop after fail verdicts
......................................................................

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
---
M bsc/BSC_Tests_CBSP.ttcn
1 file changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/31/19431/1

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;
 		}
 	}
 }

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

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I8314c53037948fae51028119c81ea247baed44ec
Gerrit-Change-Number: 19431
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200728/aa6e8d13/attachment.htm>


More information about the gerrit-log mailing list