aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2021-06-24 01:25:59 +0200
committerlaforge <laforge@osmocom.org>2021-06-30 08:01:09 +0000
commit79e15161c2f0e4ff2c4bfb54c4666c0e0be345e8 (patch)
tree9d070cc9110a6b4984aba0e66446934e8a25e3ad
parent666d39abb99e9dd3e7aac7c2adc41ac11a566147 (diff)
BTS_Tests_SMSCB: ensure f_shutdown() is called in all test cases
This fixes sporadic test case failures due to race conditions. Change-Id: I3f2c327e1e44d5decd4a936f063af649687f950a
-rw-r--r--bts/BTS_Tests_SMSCB.ttcn6
1 files changed, 6 insertions, 0 deletions
diff --git a/bts/BTS_Tests_SMSCB.ttcn b/bts/BTS_Tests_SMSCB.ttcn
index dda78fd3..942bad33 100644
--- a/bts/BTS_Tests_SMSCB.ttcn
+++ b/bts/BTS_Tests_SMSCB.ttcn
@@ -1005,6 +1005,8 @@ testcase TC_etws_p1ro() runs on test_CT {
setverdict(fail, "Segment ", i, " not received often enough");
}
}
+
+ Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}
/* Ensure only Paging Type 1 without ETWS Primary Notification are sent after disabling them */
@@ -1045,6 +1047,8 @@ testcase TC_etws_p1ro_end() runs on test_CT {
setverdict(pass);
}
}
+
+ Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}
/* Ensure ETWS Primary Notification is passed from RSL to PCU interface */
@@ -1070,6 +1074,8 @@ testcase TC_etws_pcu() runs on test_CT {
setverdict(fail, "PCU socket timeout receiving APP INFO (ETWS)");
}
}
+
+ Misc_Helpers.f_shutdown(__BFILE__, __LINE__);
}