File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,12 @@ class FrontendError(Exception):
30
30
def load_config ():
31
31
with open (path .join (path .dirname (__file__ ), "test_config.json" ), "r" ) as fd :
32
32
config = json .load (fd )
33
- return (config ["skips" ],
34
- [k for k , v in config ["features" ].items () if v is True ])
33
+ skips = config ["skips" ]
34
+ features = [k for k , v in config ["features" ].items () if v is True ]
35
+ import ssl
36
+ if ssl .HAS_TLSv1_3 :
37
+ features += ["Feature:TLS:1.3" ]
38
+ return skips , features
35
39
36
40
37
41
SKIPPED_TESTS , FEATURES = load_config ()
Original file line number Diff line number Diff line change 23
23
"stub.authorization.test_authorization.TestAuthorizationV4x1.test_should_fail_on_token_expired_on_begin_using_tx_function" :
24
24
" Flaky: test requires the driver to contact servers in a specific order" ,
25
25
"stub.session_run_parameters.test_session_run_parameters.TestSessionRunParameters.test_empty_query" :
26
- " Driver rejects empty queries before sending it to the server" ,
27
- "tls.tlsversions.TestTlsVersions.test_1_1" :
28
- " TLSv1.1 and below are disabled in the driver"
26
+ " Driver rejects empty queries before sending it to the server"
29
27
},
30
28
"features" : {
31
29
"Feature:API:Result.Single" : " Does not raise error when not exactly one record is available. To be fixed in 5.0" ,
35
33
"Feature:Auth:Kerberos" : true ,
36
34
"Feature:Bolt:4.4" : true ,
37
35
"Feature:Impersonation" : true ,
36
+ "Feature:TLS:1.1" : " Driver blocks TLS 1.1 for security reasons" ,
37
+ "Feature:TLS:1.2" : true ,
38
+ "Feature:TLS:1.3" : " Depends on the machine (will be calculated dynamically)" ,
38
39
"AuthorizationExpiredTreatment" : true ,
39
40
"Optimization:ConnectionReuse" : true ,
40
41
"Optimization:EagerTransactionBegin" : true ,
You can’t perform that action at this time.
0 commit comments