Change in osmo-ttcn3-hacks[master]: bsc CBSP: fix TC_cbsp_write_then_replace

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
Wed Aug 12 23:46:50 UTC 2020


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


Change subject: bsc CBSP: fix TC_cbsp_write_then_replace
......................................................................

bsc CBSP: fix TC_cbsp_write_then_replace

Change-Id: I62bbce6b9cc48c968fb9e80abe54ae8bed8432a6
---
M bsc/BSC_Tests_CBSP.ttcn
1 file changed, 4 insertions(+), 2 deletions(-)



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

diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn
index d01b7d9..3152975 100644
--- a/bsc/BSC_Tests_CBSP.ttcn
+++ b/bsc/BSC_Tests_CBSP.ttcn
@@ -538,7 +538,7 @@
 	f_cbsp_write(g_cbsp_msg_id, g_cbsp_ser_no, cell_list, num_bcast_req:=10, content:=pages,
 		     success_list:=?, fail_list:=omit);
 
-	/* FIXME: expect CBSP message */
+	IPA_RSL[0].receive(tr_ASP_RSL_UD(f_page2rsl(pages[0], g_cbsp_msg_id, g_cbsp_ser_no)));
 
 	/* Replace: keep the same msg_id, use a new ser_no */
 	var uint16_t old_ser_no := g_cbsp_ser_no;
@@ -546,7 +546,9 @@
 	f_cbsp_replace(g_cbsp_msg_id, g_cbsp_ser_no, old_ser_no, cell_list, content:=pages,
 		       success_list:=?, fail_list:=omit);
 
-	/* FIXME: expect CBSP message */
+	IPA_RSL[0].receive(tr_ASP_RSL_UD(f_page2rsl(pages[0], g_cbsp_msg_id, g_cbsp_ser_no)));
+	f_sleep(1.0);
+	setverdict(pass);
 }
 
 /* Replace a message that doesn't exist: failure */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19591
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: I62bbce6b9cc48c968fb9e80abe54ae8bed8432a6
Gerrit-Change-Number: 19591
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/20200812/be480240/attachment.htm>


More information about the gerrit-log mailing list