75
75
# ORACLE is buggy!
76
76
77
77
IGNORE_ORA_01843 = os .environ .get ('IGNORE_ORA_01843' , False ) in ['true' , 'True' , '1' , 'yes' , 'YES' ]
78
+ print (f'IGNORE_ORA_01843: { IGNORE_ORA_01843 } ' )
78
79
79
80
# monkey patch a fix to django oracle backend bug, blocks all oracle tests
80
81
from django .db .backends .oracle .schema import DatabaseSchemaEditor
@@ -681,6 +682,7 @@ def test_basic_save(self):
681
682
try :
682
683
self .MODEL_CLASS .objects .create (** self .create_params )
683
684
except DatabaseError as err :
685
+ print (str (err ))
684
686
if IGNORE_ORA_01843 and connection .vendor == 'oracle' and 'ORA-01843' in str (err ):
685
687
# this is an oracle bug - intermittent failure on
686
688
# perfectly fine date format in SQL
@@ -703,6 +705,7 @@ def test_to_python_deferred_attribute(self):
703
705
try :
704
706
obj = self .MODEL_CLASS .objects .create (** self .create_params )
705
707
except DatabaseError as err :
708
+ print (str (err ))
706
709
if IGNORE_ORA_01843 and connection .vendor == 'oracle' and 'ORA-01843' in str (err ):
707
710
# this is an oracle bug - intermittent failure on
708
711
# perfectly fine date format in SQL
@@ -899,6 +902,7 @@ def test_values(self):
899
902
try :
900
903
self .do_test_values ()
901
904
except DatabaseError as err :
905
+ print (str (err ))
902
906
if IGNORE_ORA_01843 and connection .vendor == 'oracle' and 'ORA-01843' in str (err ):
903
907
# this is an oracle bug - intermittent failure on
904
908
# perfectly fine date format in SQL
@@ -992,6 +996,7 @@ def test_serialization(self):
992
996
** self .values_params
993
997
)
994
998
except DatabaseError as err :
999
+ print (str (err ))
995
1000
if IGNORE_ORA_01843 and connection .vendor == 'oracle' and 'ORA-01843' in str (
996
1001
err ):
997
1002
# this is an oracle bug - intermittent failure on
0 commit comments