hnbgw: TC_hnb_register_duplicate: Fix 2nd HNB_REG_REQ containing different LAC
Change-Id: I7f5d8d8403211488966fc30bf4d82e894664df51
This commit is contained in:
parent
e9c6c7b97e
commit
fa2095bcfb
|
@ -980,9 +980,15 @@ testcase TC_hnb_register() runs on test_CT {
|
||||||
testcase TC_hnb_register_duplicate() runs on test_CT {
|
testcase TC_hnb_register_duplicate() runs on test_CT {
|
||||||
g_num_hnbs := 2;
|
g_num_hnbs := 2;
|
||||||
f_init(start_hnb := false);
|
f_init(start_hnb := false);
|
||||||
|
|
||||||
|
/* Make HNB REQ look as if it came from the same HnodeB (LAI+SAC),
|
||||||
|
* but from different IP address (underlaying link): */
|
||||||
|
g_hnb_cfg[1] := g_hnb_cfg[0];
|
||||||
f_hnbap_hnb_register(0);
|
f_hnbap_hnb_register(0);
|
||||||
f_hnbap_hnb_register(1, 0, expect_reject := true);
|
f_hnbap_hnb_register(1, 0, expect_reject := true);
|
||||||
|
|
||||||
f_verify_talloc_count(HNBGWVTY, {"struct hnb_context"}, expect_count := 1);
|
f_verify_talloc_count(HNBGWVTY, {"struct hnb_context"}, expect_count := 1);
|
||||||
|
|
||||||
f_shutdown_helper();
|
f_shutdown_helper();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue