Skip PromoteCandidate on debug builds.

When testing the commit queue locally, the tests currently fail with
'Candidate not found locally' errors. We should fix this as it blocks full
testing of the CommitQueueCompletion stage.

Long term, we should enable debug mode testing of this stage, so I've
added a TODO for that.

BUG=chromium-os:33131
TEST=Remote trybot run of mario-paladin with --buildbot --debug

Change-Id: I4967830af4998799af894cb52219809ac727f28b
Reviewed-on: https://gerrit.chromium.org/gerrit/28884
Tested-by: David James <davidjames@chromium.org>
Reviewed-by: Chris Sosa <sosa@chromium.org>
Commit-Ready: David James <davidjames@chromium.org>
1 file changed