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

Unified Diff: appengine/swarming/test_env_handlers.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_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/test_env_handlers.py
diff --git a/appengine/swarming/test_env_handlers.py b/appengine/swarming/test_env_handlers.py
index b924ea50bc8d85b86bf045f8dbd9ff613458a751..e88b3a4317e6c5c2baba4f5a45e5777603c04608 100644
--- a/appengine/swarming/test_env_handlers.py
+++ b/appengine/swarming/test_env_handlers.py
@@ -15,6 +15,7 @@ test_env.setup_test_env()
from protorpc.remote import protojson
import webtest
+import event_mon_metrics
import handlers_endpoints
import swarming_rpcs
from components import auth
@@ -38,6 +39,7 @@ class AppTestBase(test_case.TestCase):
self.testbed.init_user_stub()
gae_ts_mon.reset_for_unittest(disable=True)
+ event_mon_metrics.initialize()
# By default requests in tests are coming from bot with fake IP.
# WSGI app that implements auth REST API.
« no previous file with comments | « appengine/swarming/server/task_scheduler_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698