Chromium Code Reviews

Issue 3410008: GTTF: Make net_unittests run successfully with parallel test launcher (Closed)

Created:
10 years, 3 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
wtc, rvargas (doing something else)
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

GTTF: Make net_unittests run successfully with parallel test launcher by using a unique directory for disk cache tests. BUG=54098 TEST=run net_unittests using tools/parallel_launcher/parallel_launcher.py

Patch Set 1 #

Total comments: 8

Patch Set 2 : fixes #

Total comments: 1

Patch Set 3 : fixes #

Unified diffs Side-by-side diffs Stats (+121 lines, -139 lines)
M net/disk_cache/backend_unittest.cc View 35 chunks +51 lines, -52 lines 0 comments
M net/disk_cache/block_files_unittest.cc View 8 chunks +19 lines, -30 lines 0 comments
M net/disk_cache/disk_cache_test_base.h View 3 chunks +7 lines, -0 lines 0 comments
M net/disk_cache/disk_cache_test_base.cc View 5 chunks +7 lines, -10 lines 0 comments
M net/disk_cache/disk_cache_test_util.h View 3 chunks +5 lines, -9 lines 0 comments
M net/disk_cache/disk_cache_test_util.cc View 5 chunks +5 lines, -32 lines 0 comments
M net/disk_cache/mapped_file_unittest.cc View 2 chunks +6 lines, -2 lines 0 comments
M net/disk_cache/storage_block_unittest.cc View 3 chunks +9 lines, -3 lines 0 comments
M net/disk_cache/stress_cache.cc View 3 chunks +12 lines, -1 line 0 comments

Messages

Total messages: 11 (0 generated)
Paweł Hajdan Jr.
With the parallel test launcher net_unittests run in under a minute on my Linux machine.
10 years, 3 months ago (2010-09-16 00:13:53 UTC) #1
rvargas (doing something else)
I'm really not a fan of this change. I dislike the multitude of old test ...
10 years, 3 months ago (2010-09-16 01:06:36 UTC) #2
Paweł Hajdan Jr.
Please note that in cases ScopedTempDir would leak the directory, the solution that re-uses the ...
10 years, 3 months ago (2010-09-17 01:00:38 UTC) #3
rvargas (doing something else)
On 2010/09/17 01:00:38, Paweł Hajdan Jr. wrote: > Please note that in cases ScopedTempDir would ...
10 years, 3 months ago (2010-09-17 21:19:40 UTC) #4
rvargas (doing something else)
http://codereview.chromium.org/3410008/diff/1/4 File net/disk_cache/disk_cache_test_base.cc (right): http://codereview.chromium.org/3410008/diff/1/4#newcode76 net/disk_cache/disk_cache_test_base.cc:76: test_cache_.path(), force_creation_, size_, type_, On 2010/09/17 01:00:38, Paweł Hajdan ...
10 years, 3 months ago (2010-09-17 21:20:07 UTC) #5
Paweł Hajdan Jr.
Interesting. Disk* tests run in 12 seconds on my machine, and 5 seconds when using ...
10 years, 3 months ago (2010-09-20 14:41:14 UTC) #6
rvargas (doing something else)
On 2010/09/20 14:41:14, Paweł Hajdan Jr. wrote: > Interesting. Disk* tests run in 12 seconds ...
10 years, 3 months ago (2010-09-20 18:56:36 UTC) #7
Paweł Hajdan Jr.
On Mon, Sep 20, 2010 at 20:56, <rvargas@chromium.org> wrote: > On 2010/09/20 14:41:14, Paweł Hajdan ...
10 years, 3 months ago (2010-09-21 15:39:16 UTC) #8
rvargas (doing something else)
OK On 2010/09/21 15:39:16, Paweł Hajdan Jr. wrote: > On Mon, Sep 20, 2010 at ...
10 years, 3 months ago (2010-09-21 18:05:46 UTC) #9
Paweł Hajdan Jr.
Oops, I got a weird test failure (Windows-only): DiskCacheTest.DeleteOld: .\disk_cache\backend_unittest.cc(1279): error: Value of: cb.GetResult(rv) Actual: ...
10 years, 3 months ago (2010-09-22 11:48:37 UTC) #10
rvargas (doing something else)
10 years, 3 months ago (2010-09-22 17:33:18 UTC) #11
On 2010/09/22 11:48:37, Paweł Hajdan Jr. wrote:
> Oops, I got a weird test failure (Windows-only):
> 
> DiskCacheTest.DeleteOld: 
> .\disk_cache\backend_unittest.cc(1279): error: Value of: cb.GetResult(rv)
>   Actual: -2
> Expected: net::OK
> Which is: 0
> 
> Do you know what might cause it?

nope

Powered by Google App Engine