Revert "Mark test as complete at teardown."
This reverts commit 82b992a5fd.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user