]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: add exception in do_thrash() 29067/head
authorJos Collin <jcollin@redhat.com>
Tue, 16 Jul 2019 23:11:49 +0000 (04:41 +0530)
committerJos Collin <jcollin@redhat.com>
Fri, 19 Jul 2019 00:42:09 +0000 (06:12 +0530)
commit614eef907a0a445941ef50f5dd3aa9247d90be46
treef88df3cb42e6b62e6a5ac1119dd76019fd058225
parentd4049a5ad6f3610a0e29a2c3eb819f124b2782f0
qa/tasks: add exception in do_thrash()

Fixes the bug during DaemonWatchdog testing:

Traceback (most recent call last):
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-daemonwatchdog-testing13/qa/tasks/daemonwatchdog.py", line 38, in _run
    self.watch()
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-daemonwatchdog-testing13/qa/tasks/daemonwatchdog.py", line 112, in watch
    if thrasher.e is not None:
AttributeError: MonitorThrasher instance has no attribute 'e'

Signed-off-by: Jos Collin <jcollin@redhat.com>
qa/tasks/mon_thrash.py