@testing.supported('postgres', 'mysql')
@testing.exclude('mysql', '<', (5, 0, 3))
- def testmixedtransaction(self):
+ def testmixedtwophasetransaction(self):
connection = testbase.db.connect()
transaction = connection.begin_twophase()
trans.rollback()
errors.append(e)
break
-
con.close()
@testing.supported('mysql', 'oracle', 'postgres')
except Exception, e:
trans.rollback()
errors.append(e)
+ con.close()
def _threaded_overlap(self, thread_count, groups, update_style=True, pool=5):
db = testbase.db
update_style='nowait')
self.assert_(len(errors) != 0)
+
if __name__ == "__main__":
testbase.main()