Skip to content

Commit

Permalink
Add support for Optimization:ImplicitDefaultArguments feature
Browse files Browse the repository at this point in the history
This update excludes support for `qid` optimisation.
  • Loading branch information
injectives committed Apr 4, 2022
1 parent 05b50b0 commit 6fd0a4b
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 @@ -66,7 +66,8 @@ public class GetFeatures implements TestkitRequest
"Feature:API:Driver.IsEncrypted",
"Feature:API:SSLConfig",
"Detail:DefaultSecurityConfigValueEquality",
"Detail:ThrowOnMissingId"
"Detail:ThrowOnMissingId",
"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 @@ -61,6 +61,12 @@ public class StartTest implements TestkitRequest
COMMON_SKIP_PATTERN_TO_REASON.put( "^.*\\.TestConnectionAcquisitionTimeoutMs\\.test_should_encompass_the_handshake_time.*$", skipMessage );
COMMON_SKIP_PATTERN_TO_REASON.put( "^.*\\.TestConnectionAcquisitionTimeoutMs\\.test_should_fail_when_acquisition_timeout_is_reached_first.*$",
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";
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 );

Expand Down

0 comments on commit 6fd0a4b

Please sign in to comment.