Entries can remain in v$sql_monitor for a period of time so only look at the
executing one.
This commit is contained in:
parent
851c9a4650
commit
ae8b4f84aa
|
@ -77,7 +77,8 @@ class TestConnection(TestCase):
|
|||
if CLIENT_VERSION >= (12, 1):
|
||||
self.__VerifyAttributes(connection, "dbop", "cx_OracleTest_DBOP",
|
||||
"select dbop_name from v$sql_monitor "
|
||||
"where sid = sys_context('userenv', 'sid')")
|
||||
"where sid = sys_context('userenv', 'sid')"
|
||||
"and status = 'EXECUTING'")
|
||||
self.__VerifyAttributes(connection, "action", "cx_OracleTest_Action",
|
||||
"select sys_context('userenv', 'action') from dual")
|
||||
self.__VerifyAttributes(connection, "module", "cx_OracleTest_Module",
|
||||
|
|
Loading…
Reference in New Issue