mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-06 08:56:51 -04:00
dcb352589c
from 1.2 master back to 1.0 for CI Change-Id: I31719ccececd474e81e765dc3a8896f89f5a84eb
19 lines
458 B
Python
19 lines
458 B
Python
"""Drop Oracle databases that are left over from a
|
|
multiprocessing test run.
|
|
|
|
Currently the cx_Oracle driver seems to sometimes not release a
|
|
TCP connection even if close() is called, which prevents the provisioning
|
|
system from dropping a database in-process.
|
|
|
|
"""
|
|
from sqlalchemy.testing import provision
|
|
import logging
|
|
import sys
|
|
|
|
logging.basicConfig()
|
|
logging.getLogger(provision.__name__).setLevel(logging.INFO)
|
|
|
|
provision.reap_oracle_dbs(sys.argv[1])
|
|
|
|
|