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

Unified Diff: appengine/cr-buildbucket/test/api_test.py

Issue 1903653002: buildbucket: fix instrumentation (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: disable gae_ts_mon in api_test.py Created 4 years, 8 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/cr-buildbucket/api.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cr-buildbucket/test/api_test.py
diff --git a/appengine/cr-buildbucket/test/api_test.py b/appengine/cr-buildbucket/test/api_test.py
index 7cf2dd452c8f73c5a92c0cacd804f709119ea24e..f3d631635b92d76f73333ccc5077a10b822be6a2 100644
--- a/appengine/cr-buildbucket/test/api_test.py
+++ b/appengine/cr-buildbucket/test/api_test.py
@@ -9,6 +9,7 @@ from components import auth
from components import utils
from google.appengine.ext import ndb
import mock
+import gae_ts_mon
from testing_utils import testing
import api
@@ -22,6 +23,7 @@ class BuildBucketApiTest(testing.EndpointsTestCase):
def setUp(self):
super(BuildBucketApiTest, self).setUp()
+ gae_ts_mon.reset_for_unittest(disable=True)
for a in dir(service):
self.mock(service, a, mock.Mock())
« no previous file with comments | « appengine/cr-buildbucket/api.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698