Correct reraising of exception

when an exception was caught and rethrown, it should call 'raise'
without any arguments.

Change-Id: Ifedddb352910f8c499c0ca36c2377567c59c1de5
This commit is contained in:
Bin Zhou 2016-07-07 12:14:31 +08:00
parent 617e65ac03
commit df9475bad6

View File

@ -80,8 +80,6 @@ class UnitTest(stressaction.StressAction):
try:
self.run_core()
except Exception as e:
raise e
finally:
if (CONF.stress.leave_dirty_stack is False
and self.class_setup_per == SetUpClassRunTime.action):