Skip to content

Commit

Permalink
don't expect txn.rollback to work on mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Jul 30, 2011
1 parent 09961e8 commit ec0c040
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion master/buildbot/test/unit/test_db_buildrequests.py
Expand Up @@ -467,7 +467,10 @@ def test_reclaimBuildRequests_fail(self):
], 1300305712, [ 44, 45 ],
expfailure=buildrequests.AlreadyClaimedError)
def check(_):
# check that the time wasn't updated on 44
# check that the time wasn't updated on 44, noting that MySQL does
# not support this.
if self.db_engine.dialect.name == 'mysql':
return
def thd(conn):
tbl = self.db.model.buildrequest_claims
q = tbl.select(order_by=tbl.c.brid)
Expand Down

0 comments on commit ec0c040

Please sign in to comment.