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

Unified Diff: scheduler/monitor_db_unittest.py

Issue 6597047: Host scheduler refactoring. Move HostScheduler out of monitor_db. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Revert name change. Created 9 years, 10 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 | « scheduler/monitor_db_functional_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scheduler/monitor_db_unittest.py
diff --git a/scheduler/monitor_db_unittest.py b/scheduler/monitor_db_unittest.py
index 38ea84ddd9c17be16aab816dba415d4f73c66044..cc655736fce616d0fe293d7339a28b421164ce34 100755
--- a/scheduler/monitor_db_unittest.py
+++ b/scheduler/monitor_db_unittest.py
@@ -9,7 +9,7 @@ from autotest_lib.client.common_lib.test_utils import unittest
from autotest_lib.database import database_connection
from autotest_lib.frontend.afe import models
from autotest_lib.scheduler import monitor_db, drone_manager, email_manager
-from autotest_lib.scheduler import scheduler_config, gc_stats
+from autotest_lib.scheduler import scheduler_config, gc_stats, host_scheduler
from autotest_lib.scheduler import monitor_db_functional_test
from autotest_lib.scheduler import scheduler_models
@@ -1298,7 +1298,7 @@ class JobSchedulingTest(BaseSchedulerTest):
dummy_test_agent)
# Attempted to schedule on a host that already has an agent.
- self.assertRaises(monitor_db.SchedulerError,
+ self.assertRaises(host_scheduler.SchedulerError,
self._dispatcher._schedule_running_host_queue_entries)
« no previous file with comments | « scheduler/monitor_db_functional_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698