Index: dbus/end_to_end_sync_unittest.cc |
diff --git a/dbus/end_to_end_sync_unittest.cc b/dbus/end_to_end_sync_unittest.cc |
index 89689854e3af54d5ffbc2d484d9cfe22a7aaae20..c3388099541f039a8fbde8bc12b861396e4deaa2 100644 |
--- a/dbus/end_to_end_sync_unittest.cc |
+++ b/dbus/end_to_end_sync_unittest.cc |
@@ -37,8 +37,7 @@ class EndToEndSyncTest : public testing::Test { |
} |
virtual void TearDown() { |
- test_service_->Shutdown(); |
- ASSERT_TRUE(test_service_->WaitUntilServiceIsShutdown()); |
+ test_service_->ShutdownAndBlock(); |
test_service_->Stop(); |
client_bus_->ShutdownAndBlock(); |
} |