From f0f67736354e2e0162811a2308d7f2853ec81eb9 Mon Sep 17 00:00:00 2001 From: "grt@chromium.org" Date: Fri, 3 Feb 2012 14:56:40 +0000 Subject: Disable ChromeFrameTestWithWebServer.WidgetModeIE_CFInstanceRPC in Debug builds. Because it consistently fails and times out. BUG=112599 TEST=none TBR=robertshield@chromium.org Review URL: https://chromiumcodereview.appspot.com/9325027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120329 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/test/test_with_web_server.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/chrome_frame/test/test_with_web_server.cc b/chrome_frame/test/test_with_web_server.cc index f5e92a1..fc758dd 100644 --- a/chrome_frame/test/test_with_web_server.cc +++ b/chrome_frame/test/test_with_web_server.cc @@ -495,7 +495,14 @@ TEST_F(ChromeFrameTestWithWebServer, WidgetModeChrome_CFInstancePost) { const wchar_t kCFIRPCPage[] = L"CFInstance_rpc_host.html"; -TEST_F(ChromeFrameTestWithWebServer, WidgetModeIE_CFInstanceRPC) { +// This test consistently times out in debug builds; see http://crbug.com/112599 +#ifndef NDEBUG +#define MAYBE_WidgetModeIE_CFInstanceRPC DISABLED_WidgetModeIE_CFInstanceRPC +#else +#define MAYBE_WidgetModeIE_CFInstanceRPC WidgetModeIE_CFInstanceRPC +#endif + +TEST_F(ChromeFrameTestWithWebServer, MAYBE_WidgetModeIE_CFInstanceRPC) { if (chrome_frame_test::GetInstalledIEVersion() == IE_9) { LOG(INFO) << "Not running test on Vista/Windows 7 with IE9"; return; -- cgit v1.1