Skip to content

Commit

Permalink
fix tests on MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jan 8, 2012
1 parent c5a46d8 commit 6d54089
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/db/model.py
Expand Up @@ -410,8 +410,8 @@ class Model(base.DBConnectorComponent):
('sourcestamp_changes',
dict(unique=False, column_names=['changeid'], name='changeid')),
('buildsets',
dict(unique=False, column_names=['sourcestampid'],
name='sourcestampid')),
dict(unique=False, column_names=['sourcestampsetid'],
name='sourcestampsetid')),
]

#
Expand Down
3 changes: 2 additions & 1 deletion master/buildbot/test/unit/test_db_sourcestampsets.py
Expand Up @@ -24,7 +24,8 @@ class TestSourceStampSetsConnectorComponent(

def setUp(self):
d = self.setUpConnectorComponent(
table_names=['buildsets', 'sourcestamps', 'sourcestampsets' ])
table_names=[ 'patches', 'buildsets', 'sourcestamps',
'sourcestampsets' ])

def finish_setup(_):
self.db.sourcestampsets = \
Expand Down

0 comments on commit 6d54089

Please sign in to comment.