aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-07-05 16:16:32 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2018-07-05 16:53:30 +0200
commita59afab67fe44b52b0f7090c77fd9f10a592b05a (patch)
treebcd0d743ad1b864dea429d0828411f2ca27db90f
parent3487a85d845322d7b9359ac23907c8cf4dee6ecb (diff)
Call f_shutdown after setting the verdict in TC_paging_*
Since f_shutdown now ends the testcase by calling mtc.stop we need to set a verdict first. Change-Id: Ia9dfcb1dd90e0f6fe61cf88a8de4c10a0cad4009
-rw-r--r--bts/BTS_Tests.ttcn6
1 files changed, 4 insertions, 2 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 05831718..f66a43f0 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1668,8 +1668,6 @@ private function f_TC_paging(PagingTestCfg cfg) runs on test_CT return PagingTes
[] as_rsl_res_ind();
}
- f_shutdown();
-
log("num_paging_sent=", st.num_paging_sent, " rcvd_msgs=", st.num_paging_rcv_msgs,
" rcvd_ids=", st.num_paging_rcv_ids);
return st;
@@ -1695,6 +1693,7 @@ testcase TC_paging_imsi_80percent() runs on test_CT {
} else {
setverdict(pass);
}
+ f_shutdown();
}
/* Create ~ 80% paging load (TMSI only) sustained for about 20s, verifying that
@@ -1717,6 +1716,7 @@ testcase TC_paging_tmsi_80percent() runs on test_CT {
} else {
setverdict(pass);
}
+ f_shutdown();
}
/* Create ~ 200% paging load (IMSI only) sustained for about 20s, verifying that
@@ -1741,6 +1741,7 @@ testcase TC_paging_imsi_200percent() runs on test_CT {
} else {
setverdict(pass);
}
+ f_shutdown();
}
/* Create ~ 200% paging load (TMSI only) sustained for about 20s, verifying that
@@ -1765,6 +1766,7 @@ testcase TC_paging_tmsi_200percent() runs on test_CT {
} else {
setverdict(pass);
}
+ f_shutdown();
}