pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40620?usp=email )
Change subject: bsc: TC_mscpool_sccp_n_pcstate_detaches_msc: wait for AS to become
unavailable
......................................................................
bsc: TC_mscpool_sccp_n_pcstate_detaches_msc: wait for AS to become unavailable
Otherwise race conditions can ocurr, specially since during some time
the AS can be in PENDING state until finally going into DOWN state and
notifying the peer.
Change-Id: Idc84929d89cbac4eb67cd2740f98844253dde70d
---
M bsc/BSC_Tests.ttcn
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 3dc2298..86f9d48 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -9409,6 +9409,7 @@
f_logp(BSCVTY, "disconnecting msc0");
f_bssap_idx_disconnect(0);
+ f_ctrl_exp_trap(IPA_CTRL, "msc." & int2str(0) &
".connection_status", "disconnected", timeout_val := 5.0);
/* Now round-robin would wrap to the first MSC, but since the first MSC is disconnected,
it wraps around to msc
* 2 again. */
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40620?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Idc84929d89cbac4eb67cd2740f98844253dde70d
Gerrit-Change-Number: 40620
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>