Commit d5126f6a authored by Kevin McNee's avatar Kevin McNee Committed by Commit Bot

Disable ActivityAnalyzerTest.GlobalAnalyzerConstruction under tsan

This test is flaky under tsan.

Tbr: bcwhite@chromium.org
Bug: 1061320
Change-Id: I2a0e47659ca84aadb8a4e139406f7e77ec4a0349
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2487844Reviewed-by: default avatarKevin McNee <mcnee@chromium.org>
Commit-Queue: Kevin McNee <mcnee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819063}
parent e4603aa4
......@@ -163,7 +163,13 @@ class SimpleActivityThread : public SimpleThread {
} // namespace
TEST_F(ActivityAnalyzerTest, GlobalAnalyzerConstruction) {
// TODO(1061320): Flaky under tsan.
#if defined(THREAD_SANITIZER)
#define MAYBE_GlobalAnalyzerConstruction DISABLED_GlobalAnalyzerConstruction
#else
#define MAYBE_GlobalAnalyzerConstruction GlobalAnalyzerConstruction
#endif
TEST_F(ActivityAnalyzerTest, MAYBE_GlobalAnalyzerConstruction) {
GlobalActivityTracker::CreateWithLocalMemory(kMemorySize, 0, "", 3, 0);
GlobalActivityTracker::Get()->process_data().SetString("foo", "bar");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment