Revert "Mark test as complete at teardown."

This reverts commit 82b992a5fd.
This commit is contained in:
Bruno Oliveira
2017-06-10 01:33:12 -03:00
parent 8e2fdeee3e
commit 95a62460aa

View File

@@ -660,7 +660,7 @@ class DSession:
If the node indicates it is finished with a test item, remove If the node indicates it is finished with a test item, remove
the item from the pending list in the scheduler. the item from the pending list in the scheduler.
""" """
if rep.when == "teardown" or (rep.when == "setup" and not rep.passed): if rep.when == "call" or (rep.when == "setup" and not rep.passed):
self.sched.mark_test_complete(node, rep.item_index, rep.duration) self.sched.mark_test_complete(node, rep.item_index, rep.duration)
# self.report_line("testreport %s: %s" %(rep.id, rep.status)) # self.report_line("testreport %s: %s" %(rep.id, rep.status))
rep.node = node rep.node = node