aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-03 12:28:12 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-09-03 13:19:29 +0200
commitbb2bb061e51e72ad86c34b8f888229802951e814 (patch)
tree0aa35326a48b4d8a5c54dae31f601b642f9ecb4b
parentce0d615e12be663868aaa1be30510e5043b5b2e6 (diff)
ggsn: Delete previously activated pdp ctx in *_interact()
This change fixes some GGSN_Tests failing lately since osmo-ggsn correctly sends DeleteCtxReq for dangling pdp ctx upon increased Recovery counter received, and tests are not expecting that (because they don't expectect dangling pdp ctx from previous tests). Change-Id: I232298e2bfd8bfc99d82cbf5803d11db7eb1786a
-rw-r--r--ggsn_tests/GGSN_Tests.ttcn3
1 files changed, 3 insertions, 0 deletions
diff --git a/ggsn_tests/GGSN_Tests.ttcn b/ggsn_tests/GGSN_Tests.ttcn
index 4a53fa14..44dba4af 100644
--- a/ggsn_tests/GGSN_Tests.ttcn
+++ b/ggsn_tests/GGSN_Tests.ttcn
@@ -958,6 +958,7 @@ module GGSN_Tests {
f_wait_gtpu_fail(ctxB);
f_pdp_ctx_del(ctxA, '1'B);
+ f_pdp_ctx_del(ctxB, '1'B);
}
/* Test PDP context activation for dynamic IPv4 EUA without DNS request */
@@ -1089,6 +1090,7 @@ module GGSN_Tests {
f_wait_icmp4_echo_request(ctxB);
f_pdp_ctx_del(ctxA, '1'B);
+ f_pdp_ctx_del(ctxB, '1'B);
}
/* Validate if different clients (pdp ctx) can reach one another through GGSN. */
@@ -1345,6 +1347,7 @@ module GGSN_Tests {
f_wait_gtpu_fail(ctxB);
f_pdp_ctx_del(ctxA, '1'B);
+ f_pdp_ctx_del(ctxB, '1'B);
}
/* Test IPv4v6 context activation for dynamic IPv4v6 EUA on a v4-only APN */