Skip to content

Commit

Permalink
Merge pull request #51 from pbenas/oom
Browse files Browse the repository at this point in the history
BUGFIX: check plugin still alive
  • Loading branch information
Petr Benas committed Apr 25, 2016
2 parents 4dd84ea + 4be5c0d commit 61f4d0e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Parameters for build
params = {
'name': name,
'version': '2.1.3',
'version': '2.1.4',
'packages': [
'smoker',
'smoker.server',
Expand Down
2 changes: 1 addition & 1 deletion smoker.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%global with_check 0

Name: smoker
Version: 2.1.3
Version: 2.1.4
Release: 1%{?dist}
Epoch: 1
Summary: Smoke Testing Framework
Expand Down
5 changes: 4 additions & 1 deletion smoker/server/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,10 @@ def run(self):
Check if plugin should be run and execute it
"""
if self.current_run: # already running
return
if self.current_run.is_alive():
return
self.current_run.join()

# Plugin run when forced
if self.forced:
self.current_run = PluginWorker(self.name, self.queue, self.params,
Expand Down

0 comments on commit 61f4d0e

Please sign in to comment.