New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 741927 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Please use my @vewd.com account ins...
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

--test-launcher-jobs flag ignored when also using --gtest_filter

Project Member Reported by taku...@chromium.org, Jul 12 2017

Issue description

Executing tests like below creates 1 job instead of N jobs:
./unit_tests --gtest_filter=MediaRouter* --test-launcher-jobs=10

This seems to be due to this change:
https://chromium-review.googlesource.com/c/549342/

In TestLauncher::NumParallelJobs() method, the if and else-if clauses got reversed, and that seems to be causing the change in behavior.
 

Comment 1 by most...@opera.com, Jul 13 2017

Status: Started (was: Untriaged)
Proposed fix: https://chromium-review.googlesource.com/c/569159/
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f1b412c80b1bbecf4f6bc663a6e7e061b71a6269

commit f1b412c80b1bbecf4f6bc663a6e7e061b71a6269
Author: Mostyn Bramley-Moore <mostynb@opera.com>
Date: Fri Jul 14 16:33:54 2017

--gtest_filter should only change NumParallelJobs' default value

BUG= 741927 , 735587 

Change-Id: Ib95bd85e2f1ad14e27ba8fa76f8b52f8e137e830
Reviewed-on: https://chromium-review.googlesource.com/569159
Reviewed-by: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
Commit-Queue: Mostyn Bramley-Moore <mostynb@opera.com>
Cr-Commit-Position: refs/heads/master@{#486773}
[modify] https://crrev.com/f1b412c80b1bbecf4f6bc663a6e7e061b71a6269/base/test/launcher/test_launcher.cc

Cc: w...@chromium.org
Project Member

Comment 4 by bugdroid1@chromium.org, Jul 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/eb12aa53060d9397de49ed5c2e72a0bdf36833e2

commit eb12aa53060d9397de49ed5c2e72a0bdf36833e2
Author: Mostyn Bramley-Moore <mostynb@opera.com>
Date: Sun Jul 16 17:45:42 2017

don't forget to actually return the number of specified test jobs

BUG= 741927 , 743615 
TEST=Running browser_tests with the flags below, should print "Using 1 parallel jobs."
--run-manual --ui-test-action-max-timeout=350000 --test-launcher-jobs=1 --test-launcher-bot-mode --test-launcher-print-test-stdio=always
TBR=phajdan.jr@chromium.org

Change-Id: I33f2b4fc54b43ebec8a27c532da17146b42c07cd
Reviewed-on: https://chromium-review.googlesource.com/573380
Reviewed-by: Mostyn Bramley-Moore <mostynb@opera.com>
Commit-Queue: Mostyn Bramley-Moore <mostynb@opera.com>
Cr-Commit-Position: refs/heads/master@{#487014}
[modify] https://crrev.com/eb12aa53060d9397de49ed5c2e72a0bdf36833e2/base/test/launcher/test_launcher.cc

Comment 5 by most...@opera.com, Jul 17 2017

Status: Fixed (was: Started)

Sign in to add a comment