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 469533002: Change gtest launcher to run in parallel and retry failures by default. (Closed)

Created:
6 years, 4 months ago by Dirk Pranke
Modified:
6 years, 4 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, telemetry+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Change gtest launcher, telemetry unittests to run in parallel and retry failures by default. Previously, gtest-based tests would not run tests in parallel or retry failures by default unless you specified the --test-launcher-bot-mode flag This patch changes the behavior so that we run tests in parallel and retry failures by default if we are running *all* of the tests (i.e., --gtest_filter was *not* specified). You can still pass --test-launcher-jobs=X to control how many tests run in parallel, and --test-launcher-retry-limit=0 to turn retries off and --test-launcher-retry-limit=X to control how many times to retry. R=jam@chromium.org, phajdan.jr@chromium.org, ojan@chromium.org, tonyg@chromium.org BUG=402089 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289839

Patch Set 1 #

Patch Set 2 : enable parallel jobs by default as well #

Total comments: 2

Patch Set 3 : update w/ review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -14 lines) Patch
M base/test/launcher/test_launcher.cc View 1 2 3 chunks +8 lines, -14 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Dirk Pranke
I tested this manually (for both base_unittests and telemetry_unittests); adding unit tests for this didn't ...
6 years, 4 months ago (2014-08-12 22:39:56 UTC) #1
eseidel
Hot damn! lgtm, but I expect you actually need someone else's lg.
6 years, 4 months ago (2014-08-12 22:47:45 UTC) #2
Dirk Pranke
Double-checking, I realized that we wanted to run the tests in parallel by default as ...
6 years, 4 months ago (2014-08-12 22:52:08 UTC) #3
ojan
lgtm
6 years, 4 months ago (2014-08-12 23:22:09 UTC) #4
jam
lgtm
6 years, 4 months ago (2014-08-13 00:07:57 UTC) #5
Paweł Hajdan Jr.
I suggest to land the telemetry change in a separate patch. https://codereview.chromium.org/469533002/diff/20001/base/test/launcher/test_launcher.cc File base/test/launcher/test_launcher.cc (right): ...
6 years, 4 months ago (2014-08-13 09:36:38 UTC) #6
tonyg
lgtm
6 years, 4 months ago (2014-08-13 14:25:43 UTC) #7
Dirk Pranke
https://codereview.chromium.org/469533002/diff/20001/base/test/launcher/test_launcher.cc File base/test/launcher/test_launcher.cc (right): https://codereview.chromium.org/469533002/diff/20001/base/test/launcher/test_launcher.cc#newcode397 base/test/launcher/test_launcher.cc:397: // output. We also always redirect on the bots ...
6 years, 4 months ago (2014-08-13 16:56:04 UTC) #8
Dirk Pranke
Updated w/ review feedback. I left in the check for BotModeEnabled() for redirecting stdio, and ...
6 years, 4 months ago (2014-08-13 20:58:51 UTC) #9
jam
slgtm, thanks
6 years, 4 months ago (2014-08-14 06:04:16 UTC) #10
jam
slgtm, thanks
6 years, 4 months ago (2014-08-14 06:04:17 UTC) #11
Paweł Hajdan Jr.
LGTM
6 years, 4 months ago (2014-08-14 11:30:55 UTC) #12
Dirk Pranke
The CQ bit was checked by dpranke@chromium.org
6 years, 4 months ago (2014-08-14 20:16:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/469533002/40001
6 years, 4 months ago (2014-08-14 20:17:46 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 07:58:15 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-08-15 14:23:25 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (40001) as 289839

Powered by Google App Engine
This is Rietveld 408576698