Change in osmo-ttcn3-hacks[master]: Call f_shutdown after setting the verdict in TC_paging_*

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

daniel gerrit-no-reply at lists.osmocom.org
Thu Jul 5 14:54:16 UTC 2018


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/9891


Change subject: Call f_shutdown after setting the verdict in TC_paging_*
......................................................................

Call f_shutdown after setting the verdict in TC_paging_*

Since f_shutdown now ends the testcase by calling mtc.stop we need to
set a verdict first.

Change-Id: Ia9dfcb1dd90e0f6fe61cf88a8de4c10a0cad4009
---
M bts/BTS_Tests.ttcn
1 file changed, 4 insertions(+), 2 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 0583171..f66a43f 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1668,8 +1668,6 @@
 	[] as_rsl_res_ind();
 	}
 
-	f_shutdown();
-
 	log("num_paging_sent=", st.num_paging_sent, " rcvd_msgs=", st.num_paging_rcv_msgs,
 	    " rcvd_ids=", st.num_paging_rcv_ids);
 	return st;
@@ -1695,6 +1693,7 @@
 	} else {
 		setverdict(pass);
 	}
+	f_shutdown();
 }
 
 /* Create ~ 80% paging load (TMSI only) sustained for about 20s, verifying that
@@ -1717,6 +1716,7 @@
 	} else {
 		setverdict(pass);
 	}
+	f_shutdown();
 }
 
 /* Create ~ 200% paging load (IMSI only) sustained for about 20s, verifying that
@@ -1741,6 +1741,7 @@
 	} else {
 		setverdict(pass);
 	}
+	f_shutdown();
 }
 
 /* Create ~ 200% paging load (TMSI only) sustained for about 20s, verifying that
@@ -1765,6 +1766,7 @@
 	} else {
 		setverdict(pass);
 	}
+	f_shutdown();
 }
 
 

-- 
To view, visit https://gerrit.osmocom.org/9891
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9dfcb1dd90e0f6fe61cf88a8de4c10a0cad4009
Gerrit-Change-Number: 9891
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180705/04a95951/attachment.htm>


More information about the gerrit-log mailing list