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

Unified Diff: scripts/master/buildbucket/unittests/integration_test.py

Issue 2157703002: buildbucket: support unique change urls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: nits Created 4 years, 5 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 | « scripts/master/buildbucket/unittests/changestore_test.py ('k') | scripts/master/master_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/buildbucket/unittests/integration_test.py
diff --git a/scripts/master/buildbucket/unittests/integration_test.py b/scripts/master/buildbucket/unittests/integration_test.py
index f6fe5d8525d572ed725d3be97b2d6e3d5d530108..1807a9f8be4d50484f923d5d2071a8aeaf7a920f 100755
--- a/scripts/master/buildbucket/unittests/integration_test.py
+++ b/scripts/master/buildbucket/unittests/integration_test.py
@@ -122,13 +122,12 @@ class IntegratorTest(unittest.TestCase):
self.integrator = integration.BuildBucketIntegrator(
self.buckets, max_lease_count=max_lease_count,
build_params_hook=build_params_hook,
- heartbeat_interval=datetime.timedelta(microseconds=1))
+ heartbeat_interval=datetime.timedelta(microseconds=1),
+ change_store_factory=lambda bb: self.changes)
def log(msg, level=logging.INFO):
logging.log(level, msg)
self.integrator.log = log
- self.integrator.start(
- self.buildbot, self.buildbucket,
- change_store_factory=lambda bb: self.changes)
+ self.integrator.start(self.buildbot, self.buildbucket)
try:
yield
finally:
« no previous file with comments | « scripts/master/buildbucket/unittests/changestore_test.py ('k') | scripts/master/master_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698