Change in osmo-ttcn3-hacks[master]: bsc: cosmetic cleanup for f_ctrs_*_init()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Tue Nov 30 13:21:16 UTC 2021


neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26416 )

Change subject: bsc: cosmetic cleanup for f_ctrs_*_init()
......................................................................

bsc: cosmetic cleanup for f_ctrs_*_init()

Related: SYS#4878
Change-Id: I357bfa811a07336ca57dac2d49bf80189047916d
---
M bsc/BSC_Tests.ttcn
1 file changed, 2 insertions(+), 3 deletions(-)

Approvals:
  fixeria: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index d8e2ab1..5f742b2 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -764,18 +764,17 @@
 
 private function f_ctrs_bts_init(integer bts_count := NUM_BTS, CounterNameVals counternames := counternames_bsc_bts_handover) runs on test_CT {
 	g_ctr_bts := f_counter_name_vals_get_n(IPA_CTRL, "bts", bts_count, counternames);
+	log("initial bts rate counters: ", g_ctr_bts);
 }
 
 function f_ctrs_bsc_and_bts_init(integer bts_count := NUM_BTS, CounterNameVals counternames := counternames_bsc_bts_handover) runs on test_CT {
 	f_ctrs_bts_init(bts_count, counternames);
-	log("initial bts rate counters: ", g_ctr_bts);
 	f_ctrs_bsc_init(counternames);
 }
 
 private function f_ctrs_bsc_and_bts_handover_init(integer bts_count := NUM_BTS) runs on test_CT {
 	var CounterNameVals bts_names := counternames_bsc_bts_handover & counternames_bts_handover;
-	g_ctr_bts := f_counter_name_vals_get_n(IPA_CTRL, "bts", bts_count, bts_names);
-	log("initial bts rate counters: ", g_ctr_bts);
+	f_ctrs_bts_init(bts_count, bts_names);
 	f_ctrs_bsc_init(counternames_bsc_bts_handover);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26416
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I357bfa811a07336ca57dac2d49bf80189047916d
Gerrit-Change-Number: 26416
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211130/8594d49c/attachment.htm>


More information about the gerrit-log mailing list