diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-12 18:04:03 -0700 |
---|---|---|
committer | Ross Brattain <ross.b.brattain@intel.com> | 2017-07-12 18:10:26 -0700 |
commit | 4eca49e30eb08becae65377bba8aa244a78c3eb5 (patch) | |
tree | 0948abb4bb4f57f705e774b9279f77ce10201cf0 /tests/unit/benchmark/contexts | |
parent | 29484c3071028df6c897797706117082a4b8c3f5 (diff) |
NSBperf: fix bad sigint handler
This is why we don't do things at module
import time.
when we import this module it makes a bad
sigint handler. Only load signal handlers
at runtime.
Also fix handler to take *args, **kwargs.
Unittest failures:
> time.sleep(0.01)
E TypeError: handler() takes 0 positional arguments but 2 were given
Change-Id: I4296a4bdef0e5f4d58b0503dcbc834f3bef0feeb
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/unit/benchmark/contexts')
0 files changed, 0 insertions, 0 deletions