diff options
Diffstat (limited to 'chrome_frame/test')
-rw-r--r-- | chrome_frame/test/chrome_frame_test_utils.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc index 3324a0d..31d3e19 100644 --- a/chrome_frame/test/chrome_frame_test_utils.cc +++ b/chrome_frame/test/chrome_frame_test_utils.cc @@ -49,8 +49,14 @@ const wchar_t kIEBrokerImageName[] = L"ieuser.exe"; const char kChromeImageName[] = "chrome.exe"; const wchar_t kIEProfileName[] = L"iexplore"; const wchar_t kChromeLauncher[] = L"chrome_launcher.exe"; -const int kChromeFrameLongNavigationTimeoutInSeconds = 10; -const int kChromeFrameVeryLongNavigationTimeoutInSeconds = 30; + +#ifndef NDEBUG +const int kChromeFrameLongNavigationTimeoutInSeconds = 30; +const int kChromeFrameVeryLongNavigationTimeoutInSeconds = 90; +#else +const int kChromeFrameLongNavigationTimeoutInSeconds = 15; +const int kChromeFrameVeryLongNavigationTimeoutInSeconds = 45; +#endif // Callback function for EnumThreadWindows. BOOL CALLBACK CloseWindowsThreadCallback(HWND hwnd, LPARAM param) { |