Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: commit-queue/pending_manager.py

Issue 41583004: CQ: assert instead of re-running verifiers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: commit-queue/pending_manager.py
===================================================================
--- commit-queue/pending_manager.py (revision 230860)
+++ commit-queue/pending_manager.py (working copy)
@@ -357,10 +357,7 @@
Returns True if all Verifiers were run.
"""
for verifier in verifiers:
- if verifier.name in pending.verifications:
- logging.warning(
- 'Re-running verififer %s for issue %s' % (
Isaac (away) 2013/10/28 18:16:41 what happens when you restart CQ and add tests?
Paweł Hajdan Jr. 2013/10/28 22:57:11 Seems to work. Still, please note you're doing a _
- verifier.name, pending.issue))
+ assert verifier.name not in pending.verifications
verifier.verify(pending)
assert verifier.name in pending.verifications
if pending.get_state() == base.IGNORED:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698