cki-project / sktm

"Sonic Kernel Testing Manager" - a job scheduler for skt
GNU General Public License v2.0
0 stars 6 forks source link

New param to avoid runnning two instances at the same time #148

Closed agustinhenze closed 5 years ago

agustinhenze commented 5 years ago

It's an optional parameter called --lock-path which is used for locking the instance. If two instances using the same lock-path try to run, only the first one will success while the other will exit instantaneously without performing any action.

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 487


Changes Missing Coverage Covered Lines Changed/Added Lines %
sktm/executable.py 6 19 31.58%
<!-- Total: 6 19 31.58% -->
Totals Coverage Status
Change from base Build 484: -0.2%
Covered Lines: 491
Relevant Lines: 1148

💛 - Coveralls
agustinhenze commented 5 years ago

@spbnick Well, that was github. Fixed

agustinhenze commented 5 years ago

@spbnick than for your review :). Take a look at it again please. I think I've addressed all your comments.