Commit f4bbd309 authored by Achuith Bhandarkar's avatar Achuith Bhandarkar Committed by Commit Bot

Disable CheckMemoryPressure in chromeos VM.

ChromeOSMemoryPressureMonitorTest.CheckMemoryPressure fails in the
ChromeOS VM.

BUG=844102
TEST=This is the test
TBR=skuhne@chromium.org

Change-Id: I58cef93ff9df4cd12b103a0bc5f99b576aab542f
Reviewed-on: https://chromium-review.googlesource.com/1066466
Commit-Queue: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: default avatarChris Hamilton <chrisha@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560847}
parent bee79acd
......@@ -8,6 +8,7 @@
#include "base/memory/memory_pressure_listener.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
#include "base/sys_info.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
......@@ -74,6 +75,10 @@ class TestMemoryPressureMonitor : public MemoryPressureMonitor {
// This test tests the various transition states from memory pressure, looking
// for the correct behavior on event reposting as well as state updates.
TEST(ChromeOSMemoryPressureMonitorTest, CheckMemoryPressure) {
// crbug.com/844102:
if (base::SysInfo::IsRunningOnChromeOS())
return;
base::MessageLoopForUI message_loop;
std::unique_ptr<TestMemoryPressureMonitor> monitor(
new TestMemoryPressureMonitor);
......
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