improve failure diagnostics in TC_vty_msisdn_isd HLR test
Check for reception of an Insert Subscriber Data with outdated MSISDN. This happened to me while working on a fix for issue OS#2785, and it seems to be an easy mistake implementations can make. Catch this situation in the test and log an explicit message about the problem. Related: OS#2785 Change-Id: Ib0809617cca621cc22f29b078828057fd49f27e5
This commit is contained in:
parent
94e0c3428e
commit
7c09687456
|
@ -480,6 +480,10 @@ testcase TC_vty_msisdn_isd() runs on test_CT {
|
|||
sub.msisdn := new_msisdn;
|
||||
setverdict(pass);
|
||||
}
|
||||
[] GSUP.receive(tr_GSUP_ISD_REQ(sub.imsi, sub.msisdn)) {
|
||||
log("received ISD req with old MSISDN");
|
||||
setverdict(fail);
|
||||
}
|
||||
[] GSUP.receive { repeat; }
|
||||
[] T.timeout {
|
||||
setverdict(fail, "Timeout waiting for ISD.req");
|
||||
|
|
Loading…
Reference in New Issue