Merge branch 'devel' of github.com:jerickso/psycopg into devel

This commit is contained in:
Jason Erickson 2011-02-18 13:08:33 -07:00
commit 4fdc22451e

View File

@ -119,7 +119,7 @@ class ConnectionTests(unittest.TestCase):
def slave():
cnn = psycopg2.connect(dsn)
cur = cnn.cursor()
cur.execute("select pg_sleep(3)")
cur.execute("select pg_sleep(4)")
cur.close()
cnn.close()
@ -130,7 +130,7 @@ class ConnectionTests(unittest.TestCase):
t2.start()
t1.join()
t2.join()
self.assert_(time.time() - t0 < 5,
self.assert_(time.time() - t0 < 7,
"something broken in concurrency")
def test_encoding_name(self):