Change in osmo-gsm-tester[master]: srslte_common: fix condition to check if KPI have already extracted

pespin gerrit-no-reply at lists.osmocom.org
Tue Mar 16 17:12:27 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23385 )

Change subject: srslte_common: fix condition to check if KPI have already extracted
......................................................................

srslte_common: fix condition to check if KPI have already extracted

Change-Id: I6fdcbfadfdcfe131096d0345d2c21c87f8f7b1b6
---
M src/osmo_gsm_tester/obj/srslte_common.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, approved; Verified



diff --git a/src/osmo_gsm_tester/obj/srslte_common.py b/src/osmo_gsm_tester/obj/srslte_common.py
index cbc360f..aa41cd2 100644
--- a/src/osmo_gsm_tester/obj/srslte_common.py
+++ b/src/osmo_gsm_tester/obj/srslte_common.py
@@ -65,7 +65,7 @@
         ''' Use the srsLTE KPI analyzer module (part of srsLTE.git) if available to collect KPIs '''
 
         # Make sure this only runs once
-        if self.csv_kpi is not None or self.log_kpi is not None or self.stdout_kpi is not None:
+        if self.csv_kpi is not None and self.log_kpi is not None and self.stdout_kpi is not None:
             return
 
         # Start with empty KPIs

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23385
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I6fdcbfadfdcfe131096d0345d2c21c87f8f7b1b6
Gerrit-Change-Number: 23385
Gerrit-PatchSet: 4
Gerrit-Owner: srs_andre <andre at softwareradiosystems.com>
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/20210316/c7a8e99c/attachment.htm>


More information about the gerrit-log mailing list