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

Issue 483553002: Make git unittest_helpers only use setUp/tearDown. (Closed)

Created:
6 years, 4 months ago by iannucci
Modified:
6 years, 4 months ago
Reviewers:
Vadim Sh., agable
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/testing/testing_support.git@master
Visibility:
Public.

Description

Make git unittest_helpers only use setUp/tearDown. This allows test cases based on unittest_helpers to run in parallel when executed under expect_tests. This change shaves 4s off ./test.py in infra currently (down from 15s) on my MacBook Pro (2.2 GHz i7, Late 2011). R=vadimsh@chromium.org, agable@chromium.org BUG= Committed: https://chromium.googlesource.com/infra/testing/testing_support/+/26ba50e

Patch Set 1 #

Patch Set 2 : Further simplification #

Total comments: 8

Patch Set 3 : Fix docs and bump version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -51 lines) Patch
M testing_support/__init__.py View 1 2 1 chunk +1 line, -1 line 0 comments Download
M testing_support/git/unittest_helpers.py View 1 2 2 chunks +29 lines, -50 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
iannucci
6 years, 4 months ago (2014-08-17 04:19:26 UTC) #1
Vadim Sh.
lgtm https://codereview.chromium.org/483553002/diff/20001/testing_support/git/unittest_helpers.py File testing_support/git/unittest_helpers.py (right): https://codereview.chromium.org/483553002/diff/20001/testing_support/git/unittest_helpers.py#newcode24 testing_support/git/unittest_helpers.py:24: GitRepoSchemaTestBase into TestCase classes which subclass this. GitRepoSchemaTestBase? ...
6 years, 4 months ago (2014-08-17 04:40:00 UTC) #2
iannucci
The CQ bit was checked by iannucci@chromium.org
6 years, 4 months ago (2014-08-17 08:46:52 UTC) #3
iannucci
https://codereview.chromium.org/483553002/diff/20001/testing_support/git/unittest_helpers.py File testing_support/git/unittest_helpers.py (right): https://codereview.chromium.org/483553002/diff/20001/testing_support/git/unittest_helpers.py#newcode24 testing_support/git/unittest_helpers.py:24: GitRepoSchemaTestBase into TestCase classes which subclass this. On 2014/08/17 ...
6 years, 4 months ago (2014-08-17 08:47:04 UTC) #4
iannucci
6 years, 4 months ago (2014-08-17 08:47:13 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as 26ba50e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698