Skip to content

Commit

Permalink
Add support for Optimization:ImplicitDefaultArguments feature (#1201)…
Browse files Browse the repository at this point in the history
… (#1202)

This update excludes support for `qid` optimisation.
  • Loading branch information
injectives committed Apr 4, 2022
1 parent e47b908 commit 468b39f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ public class GetFeatures implements TestkitRequest
"Optimization:EagerTransactionBegin",
"Feature:API:Driver.IsEncrypted",
"Feature:API:SSLConfig",
"Detail:DefaultSecurityConfigValueEquality"
"Detail:DefaultSecurityConfigValueEquality",
"Optimization:ImplicitDefaultArguments"
) );

private static final Set<String> SYNC_FEATURES = new HashSet<>( Arrays.asList(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ public class StartTest implements TestkitRequest
String skipMessage = "This test expects hostname verification to be turned off when all certificates are trusted";
COMMON_SKIP_PATTERN_TO_REASON.put( "^.*\\.TestTrustAllCertsConfig\\.test_trusted_ca_wrong_hostname$", skipMessage );
COMMON_SKIP_PATTERN_TO_REASON.put( "^.*\\.TestTrustAllCertsConfig\\.test_untrusted_ca_wrong_hostname$", skipMessage );
skipMessage = "This test needs updating to implement expected behaviour";
COMMON_SKIP_PATTERN_TO_REASON.put( "^.*\\.TestAuthenticationSchemes\\.test_custom_scheme_empty$", skipMessage );
skipMessage = "Driver does not implement optimization for qid in explicit transaction";
COMMON_SKIP_PATTERN_TO_REASON.put( "^.*\\.TestOptimizations\\.test_uses_implicit_default_arguments$", skipMessage );
COMMON_SKIP_PATTERN_TO_REASON.put( "^.*\\.TestOptimizations\\.test_uses_implicit_default_arguments_multi_query$", skipMessage );
COMMON_SKIP_PATTERN_TO_REASON.put( "^.*\\.TestOptimizations\\.test_uses_implicit_default_arguments_multi_query_nested$", skipMessage );

ASYNC_SKIP_PATTERN_TO_REASON.putAll( COMMON_SKIP_PATTERN_TO_REASON );
ASYNC_SKIP_PATTERN_TO_REASON.put( "^.*\\.test_should_reject_server_using_verify_connectivity_bolt_3x0$", "Does not error as expected" );
Expand Down

0 comments on commit 468b39f

Please sign in to comment.