| Index: chrome/browser/google_apis/drive_api_operations_unittest.cc
|
| diff --git a/chrome/browser/google_apis/drive_api_operations_unittest.cc b/chrome/browser/google_apis/drive_api_operations_unittest.cc
|
| index 4e119ca27c128c14f7b7e2d6d97052cbb53da82a..ecd9eb0f3ce93c97d939d11165549a79a591b5ed 100644
|
| --- a/chrome/browser/google_apis/drive_api_operations_unittest.cc
|
| +++ b/chrome/browser/google_apis/drive_api_operations_unittest.cc
|
| @@ -46,7 +46,9 @@ class DriveApiOperationsTest : public testing::Test {
|
| DriveApiOperationsTest()
|
| : ui_thread_(content::BrowserThread::UI, &message_loop_),
|
| file_thread_(content::BrowserThread::FILE),
|
| - io_thread_(content::BrowserThread::IO) {
|
| + io_thread_(content::BrowserThread::IO),
|
| + test_server_(content::BrowserThread::GetMessageLoopProxyForThread(
|
| + content::BrowserThread::IO)) {
|
| }
|
|
|
| virtual void SetUp() OVERRIDE {
|
| @@ -84,7 +86,7 @@ class DriveApiOperationsTest : public testing::Test {
|
| }
|
|
|
| virtual void TearDown() OVERRIDE {
|
| - test_server_.ShutdownAndWaitUntilComplete();
|
| + EXPECT_TRUE(test_server_.ShutdownAndWaitUntilComplete());
|
| request_context_getter_ = NULL;
|
| ResetExpectedResponse();
|
| }
|
|
|