| Index: chrome/app/chrome_main_uitest.cc
|
| diff --git a/chrome/app/chrome_main_uitest.cc b/chrome/app/chrome_main_uitest.cc
|
| index 6038c9ca58debd2eabe8abff01a6f47764e29924..b70e58c40ea8165f0914d53da9972d9577c98ee8 100644
|
| --- a/chrome/app/chrome_main_uitest.cc
|
| +++ b/chrome/app/chrome_main_uitest.cc
|
| @@ -35,17 +35,13 @@ TEST_F(ChromeMainTest, AppTestingInterface) {
|
| }
|
|
|
| // Make sure that the second invocation creates a new window.
|
| -// This test is disabled. See bug 5671.
|
| -TEST_F(ChromeMainTest, DISABLED_SecondLaunch) {
|
| +TEST_F(ChromeMainTest, SecondLaunch) {
|
| include_testing_id_ = false;
|
| use_existing_browser_ = true;
|
|
|
| LaunchBrowser(CommandLine(L""), false);
|
|
|
| - int window_count;
|
| - ASSERT_TRUE(automation()->WaitForWindowCountToChange(1, &window_count,
|
| - action_timeout_ms()));
|
| - ASSERT_EQ(2, window_count);
|
| + ASSERT_TRUE(automation()->WaitForWindowCountToBecome(2, action_timeout_ms()));
|
| }
|
|
|
| TEST_F(ChromeMainTest, ReuseBrowserInstanceWhenOpeningFile) {
|
|
|