Bug 1170636 - Fix log name typo in parse_status conditional

This commit is contained in:
Ed Morley 2015-06-02 18:06:14 +01:00
Родитель 9e4597d645
Коммит 6055a63b16
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -100,7 +100,7 @@ def test_post_job_with_parsed_log(test_project, result_set_stored,
'state': 'completed',
'log_references': [{
'url': 'http://ftp.mozilla.org/pub/mozilla.org/spidermonkey/...',
'name': 'builbot_text',
'name': 'buildbot_text',
'parse_status': 'parsed'
}]
}
@ -142,7 +142,7 @@ def test_post_job_with_text_log_summary_artifact_parsed(
'state': 'completed',
'log_references': [{
'url': 'http://ftp.mozilla.org/pub/mozilla.org/spidermonkey/...',
'name': 'builbot_text',
'name': 'buildbot_text',
'parse_status': 'parsed'
}],
'artifacts': [{
@ -193,7 +193,7 @@ def test_post_job_with_text_log_summary_artifact_pending(
'state': 'completed',
'log_references': [{
'url': 'http://ftp.mozilla.org/pub/mozilla.org/spidermonkey/...',
'name': 'builbot_text',
'name': 'buildbot_text',
'parse_status': 'pending'
}],
'artifacts': [{
@ -247,7 +247,7 @@ def test_post_job_with_text_log_summary_and_bug_suggestions_artifact(
'state': 'completed',
'log_references': [{
'url': 'http://ftp.mozilla.org/pub/mozilla.org/spidermonkey/...',
'name': 'builbot_text',
'name': 'buildbot_text',
'parse_status': 'parsed'
}],
'artifacts': [

Просмотреть файл

@ -1617,7 +1617,7 @@ into chunks of chunk_size size. Returns the number of result sets deleted"""
# this job that corresponds to the buildbot_text log url.
# Therefore, the log does not need parsing. So we should
# ensure that it's marked as already parsed.
if text_log_summary and name == 'builbot_text':
if text_log_summary and name == 'buildbot_text':
parse_status = 'parsed'
else:
# the parsing status of this log. 'pending' or 'parsed'