@@ -428,8 +428,7 @@ def test_2410(skip_unless_thick_mode, test_env):
428
428
429
429
def test_2411 (skip_unless_thick_mode , test_env ):
430
430
"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 )
433
432
callback = "pkg_SessionCallback.TheCallback"
434
433
pool = test_env .get_pool (
435
434
min = 2 ,
@@ -673,6 +672,7 @@ def session_callback(cls, conn, requested_tag):
673
672
674
673
def test_2424 (skip_if_drcp , admin_conn , test_env ):
675
674
"2424 - drop the pooled connection on receiving dead connection error"
675
+ test_env .skip_unless_server_version (19 )
676
676
pool = test_env .get_pool (min = 2 , max = 2 , increment = 2 )
677
677
678
678
# acquire connections from the pool and kill all the sessions
@@ -767,6 +767,7 @@ def test_2430(test_env):
767
767
768
768
def test_2431 (test_env ):
769
769
"2431 - verify that connection with different cclass is reused"
770
+ test_env .skip_unless_server_version (19 )
770
771
cclass = "cclass2431"
771
772
pool = test_env .get_pool (min = 1 , max = 1 )
772
773
# ignore the first acquire which, depending on the speed with which the
@@ -1044,6 +1045,7 @@ def test_2456(test_env):
1044
1045
1045
1046
def test_2457 (skip_if_drcp , test_env ):
1046
1047
"2457 - ping pooled connection on receiving dead connection error"
1048
+ test_env .skip_unless_server_version (18 )
1047
1049
admin_conn = test_env .get_admin_connection ()
1048
1050
pool = test_env .get_pool (min = 1 , max = 1 , ping_interval = 0 )
1049
1051
0 commit comments