summaryrefslogtreecommitdiff
path: root/test/engine/test_reconnect.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2017-08-18 13:04:14 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2017-08-18 13:04:14 -0400
commit03255a5a0fc6aa8acfff99ed9e62d58054b8b6af (patch)
tree4dc38fd71f7d370ca32d309d0ad8f91f690e9f11 /test/engine/test_reconnect.py
parent04e4b63c20b941ca308ff1b4da9ad37db9175f22 (diff)
downloadsqlalchemy-03255a5a0fc6aa8acfff99ed9e62d58054b8b6af.tar.gz
First level repair for cx_Oracle 6.0 test regressions
Fixed more regressions caused by cx_Oracle 6.0; at the moment, the only behavioral change for users is disconnect detection now detects for cx_Oracle.DatabaseError in addition to cx_Oracle.InterfaceError, as this behavior seems to have changed. Other issues regarding numeric precision and uncloseable connections are pending with the upstream cx_Oracle issue tracker. Change-Id: Id61f1e33b21c155a598396340dfdecd28ff4066b Fixes: #4045
Diffstat (limited to 'test/engine/test_reconnect.py')
-rw-r--r--test/engine/test_reconnect.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/engine/test_reconnect.py b/test/engine/test_reconnect.py
index f798ff845..c690ae772 100644
--- a/test/engine/test_reconnect.py
+++ b/test/engine/test_reconnect.py
@@ -1003,6 +1003,9 @@ class InvalidateDuringResultTest(fixtures.TestBase):
self.meta.drop_all()
self.engine.dispose()
+ @testing.crashes(
+ "oracle",
+ "cx_oracle 6 doesn't allow a close like this due to open cursors")
@testing.fails_if([
'+mysqlconnector', '+mysqldb', '+cymysql', '+pymysql', '+pg8000'],
"Buffers the result set and doesn't check for connection close")