pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27732 )
Change subject: pgw: Wait for component to get out of SUT's Diameter SUSPECt list ......................................................................
pgw: Wait for component to get out of SUT's Diameter SUSPECt list
Similar fix was applied to GGSN_Tests when adding Diameter support in commit 0bcfd9de8ff359673ddb71e013dbad44bf9510cc.
Change-Id: I95ddf6c1048f0bfd6590bae574aea15c4fc2710b --- M pgw/PGW_Tests.ttcn 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/32/27732/1
diff --git a/pgw/PGW_Tests.ttcn b/pgw/PGW_Tests.ttcn index 9846dab..2b74418 100644 --- a/pgw/PGW_Tests.ttcn +++ b/pgw/PGW_Tests.ttcn @@ -146,6 +146,12 @@ vc_DIAMETER.start(DIAMETER_Emulation.main(ops, pars, id));
f_diameter_wait_capability(DIAMETER_UNIT); + /* Give some time for our emulation to get out of SUSPECT list of SUT (3 watchdong ping-pongs): + * RFC6733 sec 5.1 + * RFC3539 sec 3.4.1 [5] + * https://github.com/freeDiameter/freeDiameter/blob/master/libfdcore/p_psm.c#L... + */ + f_sleep(1.0); }
private function f_init(float guard_timeout := 60.0) runs on PGW_Test_CT {