diff options
author | Harald Welte <laforge@osmocom.org> | 2020-04-26 22:05:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-04-26 22:08:34 +0200 |
commit | d01b5d0af06b8594501d37fc23bbacb28c3f3dfb (patch) | |
tree | 485cef3619deda3f4c77c192d055b86b588902cf /mme | |
parent | 61f73d553bfad023bc470965ce9e33de368a7a15 (diff) |
DIAMETER_Emulation: Notify user of CapabilityExchange
During start of the test case, we must wait until the IUT has
established a DIAMETER/SCTP connection to the testsuite. Implement
this by means of a message on the DIAMETER_UNIT port and an associated
helper function.
Change-Id: I95434307efc67025ee6d373561f6d22398f959c5
Diffstat (limited to 'mme')
-rw-r--r-- | mme/MME_Tests.ttcn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mme/MME_Tests.ttcn b/mme/MME_Tests.ttcn index 05168095..f9bcf6d2 100644 --- a/mme/MME_Tests.ttcn +++ b/mme/MME_Tests.ttcn @@ -229,6 +229,8 @@ friend function f_init_diameter(charstring id) runs on MTC_CT { connect(vc_DIAMETER:DIAMETER_UNIT, self:DIAMETER_UNIT); connect(vc_DIAMETER:DIAMETER_PROC, self:DIAMETER_PROC); vc_DIAMETER.start(DIAMETER_Emulation.main(ops, pars, id)); + + f_diameter_wait_capability(DIAMETER_UNIT); } friend template (value) TAI ts_enb_S1AP_TAI(EnbParams enb) := { |