Commit 1df94b66 authored by Xiyuan Xia's avatar Xiyuan Xia Committed by Commit Bot

Disable SocketsUdpExtension on Mac asan

The test consistently times out since ToTMacASan build 1089 and
needs investigation.

Bug: 844402
Change-Id: I30c6348f888b5c466fe693831530ec37cdee953c
Reviewed-on: https://chromium-review.googlesource.com/1069122Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560682}
parent 43dce2b6
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "base/strings/stringprintf.h" #include "base/strings/stringprintf.h"
#include "build/build_config.h"
#include "extensions/browser/api/dns/host_resolver_wrapper.h" #include "extensions/browser/api/dns/host_resolver_wrapper.h"
#include "extensions/browser/api/dns/mock_host_resolver_creator.h" #include "extensions/browser/api/dns/mock_host_resolver_creator.h"
#include "extensions/browser/api/sockets_udp/sockets_udp_api.h" #include "extensions/browser/api/sockets_udp/sockets_udp_api.h"
...@@ -71,7 +72,15 @@ IN_PROC_BROWSER_TEST_F(SocketsUdpApiTest, SocketsUdpCreateGood) { ...@@ -71,7 +72,15 @@ IN_PROC_BROWSER_TEST_F(SocketsUdpApiTest, SocketsUdpCreateGood) {
ASSERT_TRUE(socketId > 0); ASSERT_TRUE(socketId > 0);
} }
IN_PROC_BROWSER_TEST_F(SocketsUdpApiTest, SocketsUdpExtension) { // Disable SocketsUdpExtension on Mac ASAN due to time out.
// See https://crbug.com/844402
#if defined(OS_MACOSX) && defined(ADDRESS_SANITIZER)
#define MAYBE_SocketsUdpExtension DISABLED_SocketsUdpExtension
#else
#define MAYBE_SocketsUdpExtension SocketsUdpExtension
#endif
IN_PROC_BROWSER_TEST_F(SocketsUdpApiTest, MAYBE_SocketsUdpExtension) {
std::unique_ptr<net::SpawnedTestServer> test_server( std::unique_ptr<net::SpawnedTestServer> test_server(
new net::SpawnedTestServer( new net::SpawnedTestServer(
net::SpawnedTestServer::TYPE_UDP_ECHO, net::SpawnedTestServer::TYPE_UDP_ECHO,
......
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