| Index: chrome/browser/history/multipart_uitest.cc
|
| diff --git a/chrome/browser/history/multipart_uitest.cc b/chrome/browser/history/multipart_uitest.cc
|
| index 7f8688fce5cafb275d0934b9a857932d61cb6170..9a50fe3c8ffe08d698ce710f702d5d8ff6e5879d 100644
|
| --- a/chrome/browser/history/multipart_uitest.cc
|
| +++ b/chrome/browser/history/multipart_uitest.cc
|
| @@ -15,11 +15,16 @@ namespace {
|
| class MultipartResponseUITest : public UITest {
|
| };
|
|
|
| -#if defined(NDEBUG)
|
| // http://code.google.com/p/chromium/issues/detail?id=37746
|
| // Running this test only for release builds as it fails in debug test
|
| // runs
|
| -TEST_F(MultipartResponseUITest, SingleVisit) {
|
| +#if defined(NDEBUG)
|
| +#define MAYBE_SingleVisit SingleVisit
|
| +#else
|
| +#define MAYBE_SingleVisit DISABLED_SingleVisit
|
| +#endif
|
| +
|
| +TEST_F(MultipartResponseUITest, MAYBE_SingleVisit) {
|
| // Make sure that visiting a multipart/x-mixed-replace site only
|
| // creates one entry in the visits table.
|
| const wchar_t kDocRoot[] = L"chrome/test/data";
|
| @@ -56,6 +61,5 @@ TEST_F(MultipartResponseUITest, SingleVisit) {
|
| }
|
| db.Close();
|
| }
|
| -#endif
|
|
|
| } // namespace
|
|
|