osmo-gsm-tester[master]: Unuse resources after every 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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Jun 15 08:59:20 UTC 2017


Patch Set 1:

(5 comments)

https://gerrit.osmocom.org/#/c/2914/1//COMMIT_MSG
Commit Message:

Line 10: this test starts using it so it fixes it too.
> "this test"? commit log: good to stick to imperative form:
Heh I meant "this patch" but I was thinking about the tests added in previous patch. I'll re-do this part.


Line 12: The process list is also cleaned after the processes are stopped,
> "is also cleaned"? Again in the imperative form rather describe directly wh
ACK


https://gerrit.osmocom.org/#/c/2914/1/src/osmo_gsm_tester/resource.py
File src/osmo_gsm_tester/resource.py:

Line 514:             for my_item in item_list:
> I don't really like the "my_"... I'd choose just "item"
ACK


Line 516:                     my_item.pop(USED_KEY)
> let's do just
ACK


https://gerrit.osmocom.org/#/c/2914/1/src/osmo_gsm_tester/suite.py
File src/osmo_gsm_tester/suite.py:

Line 293:             process.terminate()
> hmm, does it make sense to do this instead?
Yes, I initially wanted to pop() somehow but wasn't sure which was the best way to do that. I like your proposal.


-- 
To view, visit https://gerrit.osmocom.org/2914
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Iee12866045145544076c6c18786e1a54f18fc293
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list