Fix tests incorrectly identified if worker crashes during teardown stage

Fix #124
This commit is contained in:
Bruno Oliveira
2017-08-10 10:43:40 -03:00
parent 79f1b6dab2
commit f8e138b986
5 changed files with 46 additions and 19 deletions

View File

@@ -315,6 +315,8 @@ class SlaveController(object):
self.notify_inproc(eventname, node=self, rep=rep)
elif eventname == "collectionfinish":
self.notify_inproc(eventname, node=self, ids=kwargs['ids'])
elif eventname == "runtest_protocol_complete":
self.notify_inproc(eventname, node=self, **kwargs)
elif eventname == "logwarning":
self.notify_inproc(eventname, message=kwargs['message'],
code=kwargs['code'], nodeid=kwargs['nodeid'],