From fb33f9c54be842e191c893c91b3233cd1ae545bc Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 13 Mar 2017 12:27:51 -0400 Subject: Repair _execute_scalar for WITH_UNICODE mode cx_Oracle 5.3 seems to code this flag ON now, so remove the warning and ensure WITH_UNICODE handling works. Additionally, the XE setup on jenkins is having more problems here, in particular low-connections mode is causing cx_Oracle to fail more frequently now. Turning off low-connections fixes those but then we get the TNS errors, so adding an emergency "retry" flag that is not yet a feature available to users. Real world applications are not dropping/creating thousands of tables the way our test suite is. Change-Id: Ie95b0e697276c404d3264c2e624e870463d966d6 Fixes: #3937 --- test/dialect/test_oracle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/dialect/test_oracle.py b/test/dialect/test_oracle.py index bb3f56568..f6e1e14c7 100644 --- a/test/dialect/test_oracle.py +++ b/test/dialect/test_oracle.py @@ -1706,10 +1706,10 @@ class TypesTest(fixtures.TestBase): @testing.provide_metadata def test_reflect_nvarchar(self): metadata = self.metadata - Table('t', metadata, Column('data', sqltypes.NVARCHAR(255))) + Table('tnv', metadata, Column('data', sqltypes.NVARCHAR(255))) metadata.create_all() m2 = MetaData(testing.db) - t2 = Table('t', m2, autoload=True) + t2 = Table('tnv', m2, autoload=True) assert isinstance(t2.c.data.type, sqltypes.NVARCHAR) if testing.against('oracle+cx_oracle'): -- cgit v1.2.1