Commit af0831d5 authored by Lei Zhang's avatar Lei Zhang Committed by Commit Bot

Disable SamplingHeapProfilerTest.StartStop on Mac.

The test is crashing in a flaky manner.

Bug: 1116543
Change-Id: I9c0d020aa8a936be1ffce98f207a892f2a0516bf
Tbr: erikchen@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2357253Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Reviewed-by: default avatarErik Chen <erikchen@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798232}
parent 2b8b4796
...@@ -270,7 +270,13 @@ class StartStopThread : public SimpleThread { ...@@ -270,7 +270,13 @@ class StartStopThread : public SimpleThread {
WaitableEvent* event_; WaitableEvent* event_;
}; };
TEST_F(SamplingHeapProfilerTest, StartStop) { // Flaky on Mac. crbug.com/1116543
#if defined(OS_MAC)
#define MAYBE_StartStop DISABLED_StartStop
#else
#define MAYBE_StartStop StartStop
#endif
TEST_F(SamplingHeapProfilerTest, MAYBE_StartStop) {
auto* profiler = SamplingHeapProfiler::Get(); auto* profiler = SamplingHeapProfiler::Get();
EXPECT_EQ(0, GetRunningSessionsCount()); EXPECT_EQ(0, GetRunningSessionsCount());
profiler->Start(); profiler->Start();
......
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