Changeset 70228 in webkit
- Timestamp:
- Oct 21, 2010 4:26:57 AM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r70220 r70228 1 2010-10-21 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Don't CC authors of flaky tests 6 https://bugs.webkit.org/show_bug.cgi?id=48038 7 8 Some authors found this too annoying. We'll look for another way to 9 close the flaky test loop. 10 11 * Scripts/webkitpy/tool/commands/queues.py: 12 * Scripts/webkitpy/tool/commands/queues_unittest.py: 13 1 14 2010-10-21 Eric Seidel <eric@webkit.org> 2 15 -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/queues.py
r70171 r70228 48 48 from webkitpy.tool.bot.feeders import CommitQueueFeeder, EWSFeeder 49 49 from webkitpy.tool.bot.queueengine import QueueEngine, QueueEngineDelegate 50 from webkitpy.tool.grammar import pluralize 50 from webkitpy.tool.grammar import pluralize, join_with_separators 51 51 from webkitpy.tool.multicommandtool import Command, TryAgain 52 52 … … 302 302 def report_flaky_tests(self, patch, flaky_tests): 303 303 authors = self._author_emails_for_tests(flaky_tests) 304 cc_explaination = " The author(s) of the test(s) have been CCed on this bug."if authors else ""305 message = "The %s encountered the following flaky tests while processing attachment %s:\n\n%s\n\nPlease file bugs against the tests.%s The commit-queue is continuing to process your patch." % (self.name, patch.id(), "\n".join(flaky_tests), cc_explaination)306 self._tool.bugs.post_comment_to_bug(patch.bug_id(), message , cc=authors)304 author_nag = " The author(s) of the test(s) are %s." % join_with_separators(authors) if authors else "" 305 message = "The %s encountered the following flaky tests while processing attachment %s:\n\n%s\n\nPlease file bugs against the tests.%s The commit-queue is continuing to process your patch." % (self.name, patch.id(), "\n".join(flaky_tests), author_nag) 306 self._tool.bugs.post_comment_to_bug(patch.bug_id(), message) 307 307 308 308 # StepSequenceErrorHandler methods -
trunk/WebKitTools/Scripts/webkitpy/tool/commands/queues_unittest.py
r70171 r70228 313 313 queue = CommitQueue() 314 314 queue.bind_to_tool(MockTool()) 315 expected_stderr = """MOCK bug comment: bug_id=142, cc= ['abarth@webkit.org']315 expected_stderr = """MOCK bug comment: bug_id=142, cc=None 316 316 --- Begin comment --- 317 317 The commit-queue encountered the following flaky tests while processing attachment 197: … … 320 320 bar/baz.html 321 321 322 Please file bugs against the tests. The author(s) of the test(s) have been CCed on this bug. The commit-queue is continuing to process your patch.322 Please file bugs against the tests. The author(s) of the test(s) are abarth@webkit.org. The commit-queue is continuing to process your patch. 323 323 --- End comment --- 324 324
Note: See TracChangeset
for help on using the changeset viewer.