I pulled 145, ran "python setup.py install", and then ran the tests:
======================================================================
ERROR: test_timeout (tests.test_bugs.Bug328998Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mysql_src/bzrrepos/connector_python/tests/test_bugs.py", line 43, in test_timeout
c.execute, "SELECT SLEEP(%d)" % (config['connection_timeout']+4))
File "/usr/lib/python2.5/unittest.py", line 320, in failUnlessRaises
callableObj(*args, **kwargs)
File "/home/mysql_src/bzrrepos/connector_python/mysql/connector/cursor.py", line 314, in execute
res = self.protocol.cmd_query(stmt)
File "/home/mysql_src/bzrrepos/connector_python/mysql/connector/protocol.py", line 262, in cmd_query
buf = self.conn.recv()[0]
File "/home/mysql_src/bzrrepos/connector_python/mysql/connector/connection.py", line 72, in recv
header = self.sock.recv(4, self.socket_flags)
timeout: timed out
======================================================================
FAIL: Cursor isolation with 2 cursors, different connections, trans.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mysql_src/bzrrepos/connector_python/tests/test_pep249.py", line 370, in test_isolation2
self._isolation_test(self.db,db2,'InnoDB')
File "/home/mysql_src/bzrrepos/connector_python/tests/test_pep249.py", line 355, in _isolation_test
self.assertEqual(None, result)
AssertionError: None != (1L, u'myconnpy')
I pulled 145, ran "python setup.py install", and then ran the tests: ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- mysql_src/ bzrrepos/ connector_ python/ tests/test_ bugs.py" , line 43, in test_timeout 'connection_ timeout' ]+4)) python2. 5/unittest. py", line 320, in failUnlessRaises (*args, **kwargs) mysql_src/ bzrrepos/ connector_ python/ mysql/connector /cursor. py", line 314, in execute cmd_query( stmt) mysql_src/ bzrrepos/ connector_ python/ mysql/connector /protocol. py", line 262, in cmd_query mysql_src/ bzrrepos/ connector_ python/ mysql/connector /connection. py", line 72, in recv
=======
ERROR: test_timeout (tests.test_bugs.Bug328998Tests)
-------
Traceback (most recent call last):
File "/home/
c.execute, "SELECT SLEEP(%d)" % (config[
File "/usr/lib/
callableObj
File "/home/
res = self.protocol.
File "/home/
buf = self.conn.recv()[0]
File "/home/
header = self.sock.recv(4, self.socket_flags)
timeout: timed out
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ------- ------- ------- ------- ------- ------- ------- ------- ------- mysql_src/ bzrrepos/ connector_ python/ tests/test_ pep249. py", line 370, in test_isolation2 _isolation_ test(self. db,db2, 'InnoDB' ) mysql_src/ bzrrepos/ connector_ python/ tests/test_ pep249. py", line 355, in _isolation_test assertEqual( None, result)
FAIL: Cursor isolation with 2 cursors, different connections, trans.
-------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
AssertionError: None != (1L, u'myconnpy')
------- ------- ------- ------- ------- ------- ------- ------- ------- -------