зеркало из https://github.com/mozilla/treeherder.git
Bug 1684931 - include manifest name in result_groups (#6941)
This commit is contained in:
Родитель
21d5561673
Коммит
a4d969decd
|
@ -178,9 +178,9 @@ def test_store_error_summary_group_status(activate_responses, test_repository, t
|
|||
assert error_groups.count() == 1
|
||||
assert log_obj.groups.count() == 29
|
||||
|
||||
assert log_obj.groups.all().first().name == "dom/base/test"
|
||||
assert ok_groups.first().name == "dom/base/test"
|
||||
assert error_groups.first().name == "toolkit/components/pictureinpicture/tests"
|
||||
assert log_obj.groups.all().first().name == "dom/base/test/browser.ini"
|
||||
assert ok_groups.first().name == "dom/base/test/browser.ini"
|
||||
assert error_groups.first().name == "toolkit/components/pictureinpicture/tests/browser.ini"
|
||||
|
||||
|
||||
def test_get_group_results(activate_responses, test_repository, test_job):
|
||||
|
@ -196,4 +196,4 @@ def test_get_group_results(activate_responses, test_repository, test_job):
|
|||
groups = get_group_results(test_job.push)
|
||||
task_groups = groups['V3SVuxO8TFy37En_6HcXLs']
|
||||
|
||||
assert task_groups['dom/base/test']
|
||||
assert task_groups['dom/base/test/browser.ini']
|
||||
|
|
|
@ -114,8 +114,7 @@ def create_failure_line(job_log, failure_line):
|
|||
|
||||
|
||||
def create_group_result(job_log, line):
|
||||
# Omit the filename before storing.
|
||||
group_path = line["group"].rsplit("/", 1)[0]
|
||||
group_path = line["group"]
|
||||
|
||||
# Log to New Relic if it's not in a form we like. We can enter
|
||||
# Bugs to upstream to remedy them.
|
||||
|
|
Загрузка…
Ссылка в новой задаче