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

Issue 2479563002: tracing: Bail out early in tracing tests when tracing is already enabled (Closed)

Created:
4 years, 1 month ago by Primiano Tucci (use gerrit)
Modified:
4 years, 1 month ago
Reviewers:
ssid
CC:
chromium-reviews, tracing+reviews_chromium.org, jam, darin-cc_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tracing: Bail out early in tracing tests when tracing is already enabled A bunch of tracing browsertests have recently become flaky. I strongly suspect this is because some other test leaves the startup tracing file (/data/local/chrome-trace-config.json) around. On Android the presence of that file is enough to initialize the tracing machinery and interfere with tests. Bail out early explicitly in that case. BUG=657628, 656729 Committed: https://crrev.com/ea26a4f05c216cd7dd7d76ea19fc46665c300baa Cr-Commit-Position: refs/heads/master@{#429593}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M content/browser/tracing/memory_tracing_browsertest.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Primiano Tucci (use gerrit)
PTAL, small check
4 years, 1 month ago (2016-11-03 14:30:17 UTC) #4
ssid
lgtm Yes this would confirm your theory in issue 656729. But, I don't see any ...
4 years, 1 month ago (2016-11-03 14:53:13 UTC) #5
Primiano Tucci (use gerrit)
> But, I don't see any browsertest that creates the chrome-trace-config.json file. The telemetry tests ...
4 years, 1 month ago (2016-11-03 15:16:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2479563002/1
4 years, 1 month ago (2016-11-03 15:17:10 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-03 15:22:30 UTC) #11
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 15:40:57 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ea26a4f05c216cd7dd7d76ea19fc46665c300baa
Cr-Commit-Position: refs/heads/master@{#429593}

Powered by Google App Engine
This is Rietveld 408576698