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

Issue 2664223002: Add unit tests for overrides in multi-repo workflow (Closed)

Created:
3 years, 10 months ago by Paweł Hajdan Jr.
Modified:
3 years, 10 months ago
Reviewers:
dnj, iannucci
CC:
chromium-reviews, infra-reviews+recipes-py_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix multi-repo workflow overrides and add tests See https://groups.google.com/a/chromium.org/d/msg/infra-dev/8Hryqf4HzaQ/x5Nb0RvDBgAJ for context. This also reverts https://codereview.chromium.org/2657973006 (30a672d26b45289947783932d8062fc70dfb1611; didn't fix an issue I was trying to) and https://codereview.chromium.org/2343733003 (f7ada90c926c78704f048767e29e8ae836d8a65b; introduced the regression). BUG=none Review-Url: https://codereview.chromium.org/2664223002 Committed: https://github.com/luci/recipes-py/commit/4fb4d4bdfda85253b842648abf8588749c68a5eb

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixes #

Patch Set 3 : reverts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -78 lines) Patch
M recipe_engine/package.py View 1 2 10 chunks +26 lines, -69 lines 0 comments Download
M recipes.py View 1 2 2 chunks +1 line, -2 lines 0 comments Download
A unittests/override_test.py View 1 chunk +85 lines, -0 lines 0 comments Download
M unittests/repo_test_util.py View 1 2 chunks +26 lines, -7 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
iannucci
These lgtm. These tests should definitely pass, and so adjusting the code as appropriate to ...
3 years, 10 months ago (2017-01-31 18:22:54 UTC) #6
dnj
> Dan, is there some test that you had in mind when doing the original ...
3 years, 10 months ago (2017-01-31 18:27:29 UTC) #7
Paweł Hajdan Jr.
https://codereview.chromium.org/2664223002/diff/1/unittests/override_test.py File unittests/override_test.py (right): https://codereview.chromium.org/2664223002/diff/1/unittests/override_test.py#newcode39 unittests/override_test.py:39: cm.exception.output) On 2017/01/31 18:22:54, iannucci wrote: > hm... it's ...
3 years, 10 months ago (2017-01-31 18:30:54 UTC) #8
iannucci
Actually now that I think about it, asserting on the expectation output would be wrong ...
3 years, 10 months ago (2017-01-31 18:37:21 UTC) #14
iannucci
In CL messages, please prefer to link to the commits rather than the CLs. Rietveld ...
3 years, 10 months ago (2017-01-31 18:38:18 UTC) #15
iannucci
other than that lgtm
3 years, 10 months ago (2017-01-31 18:38:39 UTC) #16
Paweł Hajdan Jr.
Updated commit message to use git shas. FWIW I'd expect Rietveld to stay up, just ...
3 years, 10 months ago (2017-01-31 18:51:49 UTC) #18
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/2664223002/40001
3 years, 10 months ago (2017-01-31 19:02:05 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-01-31 19:04:59 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/recipes-py/commit/4fb4d4bdfda85253b842648abf8588749c6...

Powered by Google App Engine
This is Rietveld 408576698