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

Unified Diff: appengine/findit/waterfall/test/swarming_util_test.py

Issue 2547713002: [Findit] Using ts_mon to track swarming/isolated server outages (Closed)
Patch Set: fixing whitespace Created 4 years 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
Index: appengine/findit/waterfall/test/swarming_util_test.py
diff --git a/appengine/findit/waterfall/test/swarming_util_test.py b/appengine/findit/waterfall/test/swarming_util_test.py
index d9283d381eb777ccc9ac8a03ddcff1f00883fb85..3f7a12dd220d75290fb29071b369f7d2bb67de4f 100644
--- a/appengine/findit/waterfall/test/swarming_util_test.py
+++ b/appengine/findit/waterfall/test/swarming_util_test.py
@@ -682,3 +682,8 @@ class SwarmingUtilTest(wf_testcase.WaterfallTestCase):
self.assertEqual(
error['code'], swarming_util.URLFETCH_CONNECTION_CLOSED_ERROR)
self.assertTrue(error['retry_timeout'])
+
+ def testOnConnectionFailedSwarmingServer(self):
+ url = 'https://%s/_ah/api/swarming/v1/task/12345/result' % (
+ FinditConfig().Get().swarming_settings.get('server_host'))
+ swarming_util._OnConnectionFailed(url, DeadlineExceededError)
stgao 2016/12/01 23:03:59 I guess we don't need this test anymore? At least
lijeffrey 2016/12/01 23:25:30 Done.
« appengine/findit/waterfall/swarming_util.py ('K') | « appengine/findit/waterfall/swarming_util.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698