summaryrefslogtreecommitdiffstats
path: root/bsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-07-31 16:56:14 +0200
committerlaforge <laforge@osmocom.org>2020-08-13 05:38:07 +0000
commit62d5da3949a5c3757fc20346fa52dc803e971322 (patch)
tree9151719f8004998513021000ddaac46478c956e5 /bsc
parentf5148487693e1cbf5547936d8c01f9e311b4bea6 (diff)
bsc CBSP: fix TC_cbsp_write_then_replace
Diffstat (limited to 'bsc')
-rw-r--r--bsc/BSC_Tests_CBSP.ttcn6
1 files changed, 4 insertions, 2 deletions
diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn
index b079347..a56f7e6 100644
--- a/bsc/BSC_Tests_CBSP.ttcn
+++ b/bsc/BSC_Tests_CBSP.ttcn
@@ -538,7 +538,7 @@ testcase TC_cbsp_write_then_replace() runs on cbsp_test_CT {
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 @@ testcase TC_cbsp_write_then_replace() runs on cbsp_test_CT {
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 */