Commit 7f3582d6 authored by Yuta Kitamura's avatar Yuta Kitamura Committed by Commit Bot

Disable flaky test FakeVideoCaptureDeviceDescriptorTest.CanUseSecondRequestedProxy.

TBR=jbroman@chromium.org

Bug: 845661
Change-Id: Ief62b072b1b27213d3402afcf9f47a6cfc9b5aea
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/1070012Reviewed-by: default avatarYuta Kitamura <yutak@chromium.org>
Commit-Queue: Yuta Kitamura <yutak@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560971}
parent 1240aee0
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "base/bind_helpers.h" #include "base/bind_helpers.h"
#include "base/run_loop.h" #include "base/run_loop.h"
#include "build/build_config.h"
#include "services/video_capture/test/fake_device_descriptor_test.h" #include "services/video_capture/test/fake_device_descriptor_test.h"
#include "services/video_capture/test/mock_receiver.h" #include "services/video_capture/test/mock_receiver.h"
...@@ -87,8 +88,15 @@ TEST_F(FakeVideoCaptureDeviceDescriptorTest, AccessIsRevokedOnSecondAccess) { ...@@ -87,8 +88,15 @@ TEST_F(FakeVideoCaptureDeviceDescriptorTest, AccessIsRevokedOnSecondAccess) {
ASSERT_FALSE(device_access_2_revoked); ASSERT_FALSE(device_access_2_revoked);
} }
// Flaky. crbug.com/845661
#if defined(OS_LINUX)
#define MAYBE_CanUseSecondRequestedProxy DISABLED_CanUseSecondRequestedProxy
#else
#define MAYBE_CanUseSecondRequestedProxy CanUseSecondRequestedProxy
#endif
// Tests that a second proxy requested for a device can be used successfully. // Tests that a second proxy requested for a device can be used successfully.
TEST_F(FakeVideoCaptureDeviceDescriptorTest, CanUseSecondRequestedProxy) { TEST_F(FakeVideoCaptureDeviceDescriptorTest, MAYBE_CanUseSecondRequestedProxy) {
mojom::DevicePtr device_proxy_1; mojom::DevicePtr device_proxy_1;
factory_->CreateDevice(fake_device_info_.descriptor.device_id, factory_->CreateDevice(fake_device_info_.descriptor.device_id,
mojo::MakeRequest(&device_proxy_1), base::DoNothing()); mojo::MakeRequest(&device_proxy_1), base::DoNothing());
......
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