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

Issue 12459014: Implement clustering support in run_test_cases.py. (Closed)

Created:
7 years, 9 months ago by M-A Ruel
Modified:
7 years, 9 months ago
Reviewers:
csharp
CC:
chromium-reviews
Visibility:
Public.

Description

Implement clustering support in run_test_cases.py. This change piles up on the 2 previous CLs. By clustering a few test cases into a single run, it can minimize the one-cost process startup. Since run_test_cases.py knows the exact list of test cases it tried, instead of just giving a shard index, it knows which output to expect so missing test cases can be retried properly. Retries are always done individually; they are not clustered. R=csharp@chromium.org BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=187330

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix #

Patch Set 3 : Fixes #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -66 lines) Patch
M run_test_cases.py View 1 2 7 chunks +70 lines, -50 lines 1 comment Download
M tests/gtest_fake/expected.xml View 4 chunks +10 lines, -10 lines 0 comments Download
M tests/gtest_fake/gtest_fake_base.py View 2 chunks +3 lines, -3 lines 0 comments Download
M tests/gtest_fake/gtest_fake_fail.py View 1 chunk +1 line, -0 lines 0 comments Download
M tests/gtest_fake/gtest_fake_flaky.py View 1 chunk +1 line, -0 lines 0 comments Download
M tests/gtest_fake/gtest_fake_pass.py View 2 chunks +3 lines, -1 line 0 comments Download
M tests/run_test_cases_smoke_test.py View 6 chunks +41 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
M-A Ruel
7 years, 9 months ago (2013-03-10 23:16:29 UTC) #1
csharp
https://codereview.chromium.org/12459014/diff/1/run_test_cases.py File run_test_cases.py (right): https://codereview.chromium.org/12459014/diff/1/run_test_cases.py#newcode686 run_test_cases.py:686: # It needs to be valid utf-8 otherwise it ...
7 years, 9 months ago (2013-03-11 13:33:22 UTC) #2
M-A Ruel
https://codereview.chromium.org/12459014/diff/1/run_test_cases.py File run_test_cases.py (right): https://codereview.chromium.org/12459014/diff/1/run_test_cases.py#newcode686 run_test_cases.py:686: # It needs to be valid utf-8 otherwise it ...
7 years, 9 months ago (2013-03-11 17:30:53 UTC) #3
csharp
lgtm
7 years, 9 months ago (2013-03-11 17:50:29 UTC) #4
M-A Ruel
I'll need to rework map() so I can unit test it; it would be overwhelming ...
7 years, 9 months ago (2013-03-11 18:43:22 UTC) #5
csharp
still lgtm
7 years, 9 months ago (2013-03-11 18:48:39 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/12459014/11001
7 years, 9 months ago (2013-03-11 18:53:15 UTC) #7
commit-bot: I haz the power
7 years, 9 months ago (2013-03-11 18:54:02 UTC) #8
Message was sent while issue was closed.
Change committed as 187330

Powered by Google App Engine
This is Rietveld 408576698