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

Issue 116063003: Fix leak in MetricsLogTest.InitialLogStabilityMetrics test. (Closed)

Created:
7 years ago by Alexei Svitkine (slow)
Modified:
7 years ago
Reviewers:
Ilya Sherman, earthdok
CC:
chromium-reviews, jar (doing other things), Ilya Sherman, asvitkine+watch_chromium.org, timurrrr+watch_chromium.org, glider+watch_chromium.org, bruening+watch_chromium.org
Visibility:
Public.

Description

Fix leak in MetricsLogTest.InitialLogStabilityMetrics test. MetricsLog posts a task to the blocking pool, via MetricsNetworkObserver::ProbeWifiPHYLayerProtocol() which wasn't being cleaned up. Use TestBrowserThreadBundle instead of the deprecated TestBrowserThread to ensure all posted tasks are cleaned up. Also, removes suppressions for this leak. BUG=328987 TBR=isherman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241429

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -21 lines) Patch
M chrome/browser/metrics/metrics_service_unittest.cc View 4 chunks +3 lines, -6 lines 0 comments Download
M tools/lsan/suppressions.txt View 1 chunk +0 lines, -4 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 chunk +0 lines, -11 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Alexei Svitkine (slow)
7 years ago (2013-12-17 19:15:22 UTC) #1
earthdok
lgtm you can use the linux_asan trybot to verify
7 years ago (2013-12-17 19:18:18 UTC) #2
Alexei Svitkine (slow)
linux_asan passed, TBR'ing Ilya
7 years ago (2013-12-17 20:34:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/116063003/40001
7 years ago (2013-12-17 20:35:38 UTC) #4
Ilya Sherman
Woohoo! LGTM, thanks.
7 years ago (2013-12-17 22:23:50 UTC) #5
commit-bot: I haz the power
7 years ago (2013-12-18 00:38:52 UTC) #6
Message was sent while issue was closed.
Change committed as 241429

Powered by Google App Engine
This is Rietveld 408576698