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

Side by Side Diff: appengine/findit/waterfall/test/monitor_try_job_pipeline_test.py

Issue 2630433002: Findit] Flake Checker: Pipeline to trigger try jobs to identify flake culprits (Closed)
Patch Set: Addressing comments Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from datetime import datetime 5 from datetime import datetime
6 import json 6 import json
7 import mock 7 import mock
8 import time 8 import time
9 9
10 from common.waterfall import buildbucket_client 10 from common.waterfall import buildbucket_client
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 monitor_try_job_pipeline._GetError(build_response, None, False), 586 monitor_try_job_pipeline._GetError(build_response, None, False),
587 (expected_error_dict, try_job_error.UNKNOWN)) 587 (expected_error_dict, try_job_error.UNKNOWN))
588 588
589 def testReturnNoneIfNoTryJobId(self): 589 def testReturnNoneIfNoTryJobId(self):
590 master_name = 'm' 590 master_name = 'm'
591 builder_name = 'b' 591 builder_name = 'b'
592 build_number = 1 592 build_number = 1
593 pipeline = MonitorTryJobPipeline() 593 pipeline = MonitorTryJobPipeline()
594 try_job = WfTryJob.Create(master_name, builder_name, build_number) 594 try_job = WfTryJob.Create(master_name, builder_name, build_number)
595 test_result = pipeline.run(try_job.key.urlsafe(), failure_type.TEST, None) 595 test_result = pipeline.run(try_job.key.urlsafe(), failure_type.TEST, None)
596
596 self.assertIsNone(test_result) 597 self.assertIsNone(test_result)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698