Change in osmo-ttcn3-hacks[master]: pcu: SNS: TC_sns_so_bvc_reset_unknown_bvci: use g_handle_rx_alive

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

laforge gerrit-no-reply at lists.osmocom.org
Mon Apr 12 08:24:33 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23656 )

Change subject: pcu: SNS: TC_sns_so_bvc_reset_unknown_bvci: use g_handle_rx_alive
......................................................................

pcu: SNS: TC_sns_so_bvc_reset_unknown_bvci: use g_handle_rx_alive

The g_handle_rx_alive allows ignoring any ALIVE PDUs when
using f_exp_ns().
This improves the stability as the ALIVE and BVC-RESET
can come in any order.

Change-Id: I3b4ab4093b3e5bee7e32fdf6c1de3f692b13a35f
---
M pcu/PCU_Tests_SNS.ttcn
1 file changed, 1 insertion(+), 4 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/pcu/PCU_Tests_SNS.ttcn b/pcu/PCU_Tests_SNS.ttcn
index 20ab608..b6a1790 100644
--- a/pcu/PCU_Tests_SNS.ttcn
+++ b/pcu/PCU_Tests_SNS.ttcn
@@ -267,16 +267,13 @@
  * PCU  -> SGSN: BVCI 24 BSSGP-STATUS Unknown BVCI
  */
 testcase TC_sns_so_bvc_reset_unknown_bvci() runs on RAW_Test_CT {
+	g_handle_rx_alive := true;
 	f_init_ns_codec(mp_nsconfig);
 	f_init_pcuif();
 	f_incoming_sns_size();
 	f_incoming_sns_config();
 	f_outgoing_sns_config();
 
-	/* wait for one ALIVE cycle, then ACK any further ALIVE in the background */
-	as_rx_alive_tx_ack(oneshot := true);
-	activate(as_rx_alive_tx_ack());
-
 	/* Expect BVC-RESET, but ignore it to prevent a race condition of BVC RESETs */
 	var template PDU_NS pdu := tr_NS_UNITDATA(t_SduCtrlB, 0, decmatch tr_BVC_RESET(?, 0, omit));
 	f_ns_exp(pdu, idx := 0);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23656
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: I3b4ab4093b3e5bee7e32fdf6c1de3f692b13a35f
Gerrit-Change-Number: 23656
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210412/5241abfb/attachment.htm>


More information about the gerrit-log mailing list