pespin has uploaded this change for review.
bsc: Wait for AS to become unavailable in IUT before continuing test
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/20/40620/1
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index d246b90..e6f8546 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 change 40620. To unsubscribe, or for help writing mail filters, visit settings.