Commit 59686873 authored by Jérome Perrin's avatar Jérome Perrin

software/seleniumrunner/test/utils.py: catch more exceptions

in order not to leak processes on Ctrl+C
parent b26ab112
...@@ -137,7 +137,7 @@ class SlapOSInstanceTestCase(unittest.TestCase): ...@@ -137,7 +137,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
# cls.createInstances() # cls.createInstances()
# cls.requestInstances() # cls.requestInstances()
except Exception: except BaseException:
cls.stopSlapOSProcesses() cls.stopSlapOSProcesses()
cls.setUp = lambda self: self.fail('Setup Class failed.') cls.setUp = lambda self: self.fail('Setup Class failed.')
raise raise
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment