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

Issue 8972009: Fix file leaks in a ETW test and a ScopedTempDir test. (Closed)

Created:
9 years ago by Lei Zhang
Modified:
9 years ago
CC:
chromium-reviews, brettw-cc_chromium.org, Paweł Hajdan Jr., Sigurður Ásgeirsson
Visibility:
Public.

Description

Fix file leaks in a ETW test and a ScopedTempDir test. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=115036

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
M base/scoped_temp_dir_unittest.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M base/win/event_trace_controller_unittest.cc View 1 2 3 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Lei Zhang
Whoops, we've been leaking files in this test for 2 years. @_@
9 years ago (2011-12-16 02:08:08 UTC) #1
Lei Zhang
On 2011/12/16 02:08:08, Lei Zhang wrote: > Whoops, we've been leaking files in this test ...
9 years ago (2011-12-16 02:20:16 UTC) #2
Sigurður Ásgeirsson
http://codereview.chromium.org/8972009/diff/4001/base/scoped_temp_dir_unittest.cc File base/scoped_temp_dir_unittest.cc (right): http://codereview.chromium.org/8972009/diff/4001/base/scoped_temp_dir_unittest.cc#newcode78 base/scoped_temp_dir_unittest.cc:78: file_util::Delete(base_path, true); how ironic :). http://codereview.chromium.org/8972009/diff/4001/base/win/event_trace_controller_unittest.cc File base/win/event_trace_controller_unittest.cc (right): ...
9 years ago (2011-12-16 13:59:44 UTC) #3
Nico
LGTM, nice find :-) http://codereview.chromium.org/8972009/diff/4001/base/scoped_temp_dir_unittest.cc File base/scoped_temp_dir_unittest.cc (right): http://codereview.chromium.org/8972009/diff/4001/base/scoped_temp_dir_unittest.cc#newcode78 base/scoped_temp_dir_unittest.cc:78: file_util::Delete(base_path, true); On 2011/12/16 13:59:45, ...
9 years ago (2011-12-16 16:29:05 UTC) #4
Lei Zhang
Nothing too controversial, so I'll click the commit box now. http://codereview.chromium.org/8972009/diff/4001/base/win/event_trace_controller_unittest.cc File base/win/event_trace_controller_unittest.cc (right): http://codereview.chromium.org/8972009/diff/4001/base/win/event_trace_controller_unittest.cc#newcode144 ...
9 years ago (2011-12-16 20:00:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/8972009/8001
9 years ago (2011-12-16 20:00:37 UTC) #6
commit-bot: I haz the power
Try job failure for 8972009-8001 (retry) (retry) on win_rel for step "unit_tests" (clobber build). It's ...
9 years ago (2011-12-16 23:25:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/8972009/8001
9 years ago (2011-12-16 23:50:15 UTC) #8
commit-bot: I haz the power
Try job failure for 8972009-8001 (retry) on linux_rel for step "check_deps". It's a second try, ...
9 years ago (2011-12-17 00:50:26 UTC) #9
Sigurður Ásgeirsson
Thanks! On Fri, Dec 16, 2011 at 15:00, <thestig@chromium.org> wrote: > Nothing too controversial, so ...
9 years ago (2011-12-17 15:04:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/8972009/8001
9 years ago (2011-12-19 21:10:29 UTC) #11
commit-bot: I haz the power
9 years ago (2011-12-19 23:24:11 UTC) #12
Change committed as 115036

Powered by Google App Engine
This is Rietveld 408576698