Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Unified Diff: infra/services/service_manager/test/service_thread_test.py

Issue 1365583002: Have service_manager start a cloudtail attached to each service it starts. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Just use the default project ID Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: infra/services/service_manager/test/service_thread_test.py
diff --git a/infra/services/service_manager/test/service_thread_test.py b/infra/services/service_manager/test/service_thread_test.py
index 44e60f56ac1f17a56a09872f8ff166bcb281007e..aa5c0e80841ed363b10d961422d28c7730cf6580 100644
--- a/infra/services/service_manager/test/service_thread_test.py
+++ b/infra/services/service_manager/test/service_thread_test.py
@@ -57,9 +57,9 @@ class ServiceThreadTest(unittest.TestCase):
config = {'name': 'foo'}
self.condition = FakeCondition()
self.t = service_thread.ServiceThread(
- 10, '/foo', config, wait_condition=self.condition)
+ 10, '/foo', config, None, wait_condition=self.condition)
- self.mock_service_ctor.assert_called_once_with('/foo', config)
+ self.mock_service_ctor.assert_called_once_with('/foo', config, None)
def tearDown(self):
if self.t.is_alive():
@@ -198,7 +198,7 @@ class ServiceThreadTest(unittest.TestCase):
self.assertEqual(1, self.t.reconfigs.get({'service': 'foo'}))
self.mock_service.stop.assert_called_once_with()
- self.mock_service_ctor.assert_called_with('/foo', new_config)
+ self.mock_service_ctor.assert_called_with('/foo', new_config, None)
new_service.start.assert_called_once_with()
def test_new_args_on_startup(self):

Powered by Google App Engine
This is Rietveld 408576698