Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepared tests #68

Merged
merged 3 commits into from
Aug 18, 2022
Merged

Prepared tests #68

merged 3 commits into from
Aug 18, 2022

Commits on Aug 18, 2022

  1. Add setters for CassStatement parameters

    Add implementation for:
      * cass_statement_set_serial_consistency
      * cass_statement_set_consistency
      * cass_statement_set_timestamp
      * cass_statement_set_request_timout
    Gor027 committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    ef0b0d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6e2944 View commit details
    Browse the repository at this point in the history
  3. Add necessary implementation to pass all PreparedTests

    Added retry policy definition:
      * constructor for Default retry policy: cass_retry_policy_default_new
      * destructor for CassRetryPolicy: cass_retry_policy_free
    
    Added implementation of cass_row_get_column_by_name.
    
    Modified PrepareFromExistingSimpleStatement and
    PrepareFromExistingBoundStatement tests to prepare statements with
    Default retry policy instead of DowngradingConsistency as the latter is
    deprecated and is not supported by rust driver.
    
    Statement setters validations are commented out in tests as their
    corresponding implementations in rust bindings are not
    present(src/testing.cpp).
    
    In FailFastWhenPreparedIDChangesDuringReprepare test, the result's error
    message is changed according to the error message the rust driver
    returns.
    
    PreparedIDUnchangedDuringReprepare test is ignored, as it is also
    ignored in cpp-driver.
    Gor027 committed Aug 18, 2022
    Configuration menu
    Copy the full SHA
    39e8891 View commit details
    Browse the repository at this point in the history