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

Issue 8174014: Stop modifiying requirements out of thread and generate it instead. (Closed)

Created:
9 years, 2 months ago by M-A Ruel
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Dirk Pranke, M-A Ruel
Visibility:
Public.

Description

Stop modifiying requirements out of thread and generate it instead. This fixes GClientSmokeBoth.testMultiSolutionsJobs flakiness by having consistent ordering. Now no out of thread modification is ever done, which result in much saner code. R=dpranke@chromium.org BUG=60725 TEST=tested manually with gclient sync --jobs 100 on chrome and with gclient_smotetest.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104920

Patch Set 1 #

Patch Set 2 : Rebase against 8143022 / 3 and fix test #

Patch Set 3 : Fix the lack of constant ordering in GClientSmokeBoth.testMultiSolutionsJobs #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -138 lines) Patch
M gclient.py View 1 7 chunks +61 lines, -49 lines 0 comments Download
M gclient_utils.py View 1 2 2 chunks +0 lines, -12 lines 0 comments Download
M tests/gclient_smoketest.py View 1 2 4 chunks +29 lines, -31 lines 1 comment Download
M tests/gclient_test.py View 5 chunks +48 lines, -46 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
M-A Ruel
9 years, 2 months ago (2011-10-06 21:05:09 UTC) #1
Dirk Pranke
lgtm
9 years, 2 months ago (2011-10-06 21:45:26 UTC) #2
M-A Ruel
Since it now uses strict sorting for the dependencies, I had to update a test ...
9 years, 2 months ago (2011-10-07 16:59:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/8174014/4001
9 years, 2 months ago (2011-10-11 00:45:57 UTC) #4
commit-bot: I haz the power
Presubmit check for 8174014-4001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 2 months ago (2011-10-11 00:52:20 UTC) #5
M-A Ruel
Small update to make the test non-flaky. Will commit tomorrow morning. http://codereview.chromium.org/8174014/diff/9001/tests/gclient_smoketest.py File tests/gclient_smoketest.py (right): ...
9 years, 2 months ago (2011-10-11 02:29:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/8174014/9001
9 years, 2 months ago (2011-10-11 18:09:55 UTC) #7
commit-bot: I haz the power
9 years, 2 months ago (2011-10-11 18:18:21 UTC) #8
Change committed as 104920

Powered by Google App Engine
This is Rietveld 408576698