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

Unified Diff: appengine/swarming/server/task_scheduler_test.py

Issue 2534943002: Upload basic info about completed swarming tasks to event_mon (Closed)
Patch Set: fixes Created 4 years, 1 month 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/server/task_scheduler.py ('k') | appengine/swarming/test_env_handlers.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/server/task_scheduler_test.py
diff --git a/appengine/swarming/server/task_scheduler_test.py b/appengine/swarming/server/task_scheduler_test.py
index 183f1cdb2c43b08be70bff3f311412f497776f1c..a4b5595e0e05e6b1011eeb0bcc658a1e3342e64f 100755
--- a/appengine/swarming/server/task_scheduler_test.py
+++ b/appengine/swarming/server/task_scheduler_test.py
@@ -18,6 +18,8 @@ from google.appengine.ext import ndb
import webtest
+import event_mon_metrics
+
from components import auth
from components import auth_testing
from components import datastore_utils
@@ -114,6 +116,7 @@ class TaskSchedulerApiTest(test_case.TestCase):
})
self.mock(stats_framework, 'add_entry', self._parse_line)
auth_testing.mock_get_current_identity(self)
+ event_mon_metrics.initialize()
def _parse_line(self, line):
# pylint: disable=W0212
« no previous file with comments | « appengine/swarming/server/task_scheduler.py ('k') | appengine/swarming/test_env_handlers.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698