Change in osmo-ttcn3-hacks[master]: ns2: add a dummy test case TC_idle() for manual test cases

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/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Fri Aug 6 20:14:34 UTC 2021


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


Change subject: ns2: add a dummy test case TC_idle() for manual test cases
......................................................................

ns2: add a dummy test case TC_idle() for manual test cases

The TC_idle() won't be call by the control as this TC is only intended for manual
human based testing.

Change-Id: Ie1b5936447755dcaebd65396b7bb5cc3f31c17b5
---
M ns/NS_Tests.ttcn
1 file changed, 16 insertions(+), 0 deletions(-)



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

diff --git a/ns/NS_Tests.ttcn b/ns/NS_Tests.ttcn
index a0b9216..af28cf1 100644
--- a/ns/NS_Tests.ttcn
+++ b/ns/NS_Tests.ttcn
@@ -676,6 +676,22 @@
 	f_clean_ns_codec();
 }
 
+testcase TC_idle() runs on RAW_Test_CT {
+	f_init_vty();
+	f_init_ns_codec(mp_nsconfig, guard_secs := 30.0);
+
+	/* do a NS Reset procedure */
+	f_outgoing_ns_reset();
+	activate(as_rx_alive_tx_ack());
+
+	f_outgoing_ns_unblock();
+	f_sleep(30.0);
+
+	setverdict(pass);
+	f_sleep(1.0);
+	f_clean_ns_codec();
+}
+
 control {
 	if (mp_dialect == NS2_DIALECT_STATIC_RESETBLOCK or mp_dialect == NS2_DIALECT_IPACCESS) {
 		execute( TC_tx_reset() );

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25136
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: Ie1b5936447755dcaebd65396b7bb5cc3f31c17b5
Gerrit-Change-Number: 25136
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210806/5eef1eb1/attachment.htm>


More information about the gerrit-log mailing list