@@ -428,8 +428,7 @@ def test_2410(skip_unless_thick_mode, test_env):
428428
429429def test_2411 (skip_unless_thick_mode , test_env ):
430430 "2411 - test PL/SQL session callbacks"
431- if not test_env .has_client_version (12 , 2 ):
432- pytest .skip ("PL/SQL session callbacks not supported before 12.2" )
431+ test_env .skip_unless_client_version (12 , 2 )
433432 callback = "pkg_SessionCallback.TheCallback"
434433 pool = test_env .get_pool (
435434 min = 2 ,
@@ -673,6 +672,7 @@ def session_callback(cls, conn, requested_tag):
673672
674673def test_2424 (skip_if_drcp , admin_conn , test_env ):
675674 "2424 - drop the pooled connection on receiving dead connection error"
675+ test_env .skip_unless_server_version (19 )
676676 pool = test_env .get_pool (min = 2 , max = 2 , increment = 2 )
677677
678678 # acquire connections from the pool and kill all the sessions
@@ -767,6 +767,7 @@ def test_2430(test_env):
767767
768768def test_2431 (test_env ):
769769 "2431 - verify that connection with different cclass is reused"
770+ test_env .skip_unless_server_version (19 )
770771 cclass = "cclass2431"
771772 pool = test_env .get_pool (min = 1 , max = 1 )
772773 # ignore the first acquire which, depending on the speed with which the
@@ -1044,6 +1045,7 @@ def test_2456(test_env):
10441045
10451046def test_2457 (skip_if_drcp , test_env ):
10461047 "2457 - ping pooled connection on receiving dead connection error"
1048+ test_env .skip_unless_server_version (18 )
10471049 admin_conn = test_env .get_admin_connection ()
10481050 pool = test_env .get_pool (min = 1 , max = 1 , ping_interval = 0 )
10491051
0 commit comments