Commit 741d76b8 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Set CORAL_SQLITE_SYNCHRONOUS_OFF in the COOL qmtest driver

to ensure faster tests against the SQLite backend (CORALCOOL-2922).


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@20064 4525493e-7705-40b1-a816-d608a930855b
parent fcbb2ae4
......@@ -457,6 +457,9 @@ class StandardTest(ShellCommandTest):
# Workaround for ORA-04031 on Oracle 11g (bug #94270)
os.environ[ 'CORAL_ORA_DISABLE_OPT_DYN_SAMP' ] = '1'
# Workaround for slow SQLite commits (CORALCOOL-2922)
os.environ[ 'CORAL_SQLITE_SYNCHRONOUS_OFF' ] = '1'
# Bypass tests that are expected to fail with ROOT6 (CORALCOOL-2741)
# [These are now set in config/cmt/requirements]
###os.environ[ 'COOL_PYCOOLTEST_SKIP_EXCEPTIONS' ] = '1'
......
......@@ -258,7 +258,7 @@ class TextResultStream(FileResultStream):
if "QMTEST_DISABLE_PATCH_TASK21216" not in os.environ:
self.file.write("\n")
self._DisplayHeading("ENVIRONMENT")
for env in "HOST", "CMTCONFIG", "BINARY_TAG", "LCG_NGT_SLT_NAME", "LCG_NGT_DAY_NAME", "COOL_PYCOOLTEST_SKIP_EXCEPTIONS", "COOL_PYCOOLTEST_SKIP_ROOT6927" :
for env in "HOST", "CMTCONFIG", "BINARY_TAG", "LCG_NGT_SLT_NAME", "LCG_NGT_DAY_NAME", "COOL_PYCOOLTEST_SKIP_EXCEPTIONS", "COOL_PYCOOLTEST_SKIP_ROOT6927", "CORAL_SQLITE_SYNCHRONOUS_OFF" :
self.file.write( "%s = %s\n" % ( env, os.environ[env] if env in os.environ else "[not set]" ) )
for env in "CORAL_AUTH_PATH", "CORAL_DBLOOKUP_PATH", "TNS_ADMIN", "COOLSYS", "CORALSYS", "ROOTSYS" :
self.file.write( "%s = %s\n" % ( env, os.path.abspath(os.environ[env]) if env in os.environ else "[not set]" ) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment