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

Issue 2372753002: Cleanup fetch, fix missing network flake instances (Closed)

Created:
4 years, 2 months ago by dnj
Modified:
4 years, 2 months ago
Reviewers:
iannucci, martiniss
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Cleanup fetch, fix missing network flake instances Make the fetch command identify flake based on the Git subcommand that is being invoked. The fetch Git sequence is also currently a bit sloppy. Refactor the Git invocations and the related tests to make the code cleaner and more testable. BUG=chromium:650355 TEST=unit Committed: https://github.com/luci/recipes-py/commit/79cf78db1a3c32c7730f3e9006825a95261abe06

Patch Set 1 #

Patch Set 2 : Cleaner, missed a spot. #

Total comments: 2

Patch Set 3 : Unit test for bug failure case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -78 lines) Patch
M recipe_engine/fetch.py View 1 4 chunks +64 lines, -36 lines 0 comments Download
M recipe_engine/unittests/fetch_test.py View 1 2 6 chunks +85 lines, -42 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
dnj
PTAL
4 years, 2 months ago (2016-09-26 20:10:14 UTC) #2
martiniss
looks pretty good https://codereview.chromium.org/2372753002/diff/20001/recipe_engine/unittests/fetch_test.py File recipe_engine/unittests/fetch_test.py (right): https://codereview.chromium.org/2372753002/diff/20001/recipe_engine/unittests/fetch_test.py#newcode23 recipe_engine/unittests/fetch_test.py:23: class TestGit(unittest.TestCase): Can you add a ...
4 years, 2 months ago (2016-09-26 22:58:02 UTC) #3
dnj
https://codereview.chromium.org/2372753002/diff/20001/recipe_engine/unittests/fetch_test.py File recipe_engine/unittests/fetch_test.py (right): https://codereview.chromium.org/2372753002/diff/20001/recipe_engine/unittests/fetch_test.py#newcode23 recipe_engine/unittests/fetch_test.py:23: class TestGit(unittest.TestCase): On 2016/09/26 22:58:02, martiniss wrote: > Can ...
4 years, 2 months ago (2016-09-26 23:48:57 UTC) #4
martiniss
lgtm
4 years, 2 months ago (2016-09-26 23:50:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2372753002/40001
4 years, 2 months ago (2016-09-27 00:10:10 UTC) #7
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 00:13:07 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/recipes-py/commit/79cf78db1a3c32c7730f3e9006825a95261...

Powered by Google App Engine
This is Rietveld 408576698