Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
View
10 master/buildbot/test/integration/test_upgrade.py
@@ -609,20 +609,16 @@ def test_sourcestamp_version3(self):
S'project'
p3
S''
- sS'ssid'
- p4
- I10
sS'repository'
- p5
+ p4
S''
sS'patch_info'
- p6
+ p5
NsS'buildbot.sourcestamp.SourceStamp.persistenceVersion'
- p7
+ p6
I2
sS'patch'
Nsb.""")
ss = cPickle.loads(pkl)
styles.doUpgrade()
- self.assertEqual(ss.sourcestampsetid,10)
self.assertEqual(ss.codebase, '')
View
6 master/buildbot/test/unit/test_schedulers_triggerable.py
@@ -59,7 +59,7 @@ def test_trigger(self):
# trigger the scheduler, exercising properties while we're at it
set_props = properties.Properties()
set_props.setProperty('pr', 'op', 'test')
- d = sched.trigger(91, set_props=set_props)
+ d = sched.trigger(1091, set_props=set_props)
bsid = self.db.buildsets.assertBuildset('?',
dict(external_idstring=None,
@@ -120,7 +120,7 @@ def test_trigger_overlapping(self):
self.assertEqual(callbacks['buildset_completion'], None)
# trigger the scheduler the first time
- d = sched.trigger(91)
+ d = sched.trigger(1091)
bsid1 = self.db.buildsets.assertBuildset('?',
dict(external_idstring=None,
properties=[('scheduler', ('n', 'Scheduler'))],
@@ -133,7 +133,7 @@ def test_trigger_overlapping(self):
and self.assertEqual(brids, self.db.buildsets.allBuildRequests(bsid1)))
# and the second time
- d = sched.trigger(92)
+ d = sched.trigger(1092)
bsid2 = self.db.buildsets.assertBuildset(bsid1+1, # assumes bsid's are sequential
dict(external_idstring=None,
properties=[('scheduler', ('n', 'Scheduler'))],

No commit comments for this range

Something went wrong with that request. Please try again.