Change in osmo-gsm-tester[master]: Always initialize the _started in the test

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/.

Holger Freyther gerrit-no-reply at lists.osmocom.org
Tue Oct 30 21:26:20 UTC 2018


Holger Freyther has submitted this change and it was merged. ( https://gerrit.osmocom.org/10685 )

Change subject: Always initialize the _started in the test
......................................................................

Always initialize the _started in the test

We don't know at which state the termiation routine will be
called and it is best to have a fully initialized object. In
prepare we start with a fresh list just to be sure.

Change-Id: I675772c89e32620da5695aa4793b735cc266684c
---
M src/osmo_ms_driver/location_update_test.py
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, but someone else must approve
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/osmo_ms_driver/location_update_test.py b/src/osmo_ms_driver/location_update_test.py
index e83d91b..010c278 100644
--- a/src/osmo_ms_driver/location_update_test.py
+++ b/src/osmo_ms_driver/location_update_test.py
@@ -83,6 +83,7 @@
         self._event_server = event_server
         self._event_server.register(self.handle_msg)
         self._unstarted = copy(self._mobiles)
+        self._started = []
 
     def mobiles(self):
         return self._mobiles

-- 
To view, visit https://gerrit.osmocom.org/10685
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I675772c89e32620da5695aa4793b735cc266684c
Gerrit-Change-Number: 10685
Gerrit-PatchSet: 7
Gerrit-Owner: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181030/18802742/attachment.htm>


More information about the gerrit-log mailing list