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

Unified Diff: appengine/swarming/handlers_test.py

Issue 2386793002: Reimplement Machine Provider integration (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « appengine/swarming/handlers_backend.py ('k') | appengine/swarming/queue.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/handlers_test.py
diff --git a/appengine/swarming/handlers_test.py b/appengine/swarming/handlers_test.py
index d9782b8b638f6040fb6dfe9099651c82000bcf2e..feeec96f37c27ff37700bcb8fff3eac13ac1f5e6 100755
--- a/appengine/swarming/handlers_test.py
+++ b/appengine/swarming/handlers_test.py
@@ -462,11 +462,6 @@ class BackendTest(AppTestBase):
]
self.assertTrue(cron_job_urls, cron_job_urls)
- # Stub out task queue triggered by /internal/cron/machine_provider_pubsub.
- self.mock(
- handlers_frontend.handlers_backend.lease_management,
- 'process_pubsub', lambda *args, **kwargs: None)
-
# For ereporter.
for cron_job_url in cron_job_urls:
self.app.get(
@@ -555,8 +550,8 @@ class BackendTest(AppTestBase):
)
task_queues = [
('cleanup', '/internal/taskqueue/cleanup_data'),
- ('machine-provider-pubsub',
- '/internal/taskqueue/pubsub/machine_provider'),
+ ('machine-provider-manage',
+ '/internal/taskqueue/machine-provider-manage'),
('pubsub', '/internal/taskqueue/pubsub/<task_id:[0-9a-f]+>'),
]
self.assertEqual(sorted(zip(*task_queues)[1]), task_queue_urls)
« no previous file with comments | « appengine/swarming/handlers_backend.py ('k') | appengine/swarming/queue.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698