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

Fix Management API tests for Cassandra 3.11 #817

Open
emerkle826 opened this issue Oct 29, 2024 · 0 comments
Open

Fix Management API tests for Cassandra 3.11 #817

emerkle826 opened this issue Oct 29, 2024 · 0 comments

Comments

@emerkle826
Copy link
Collaborator

emerkle826 commented Oct 29, 2024

With the most recent release of Management API (v0.1.88), Cassandra 3.11 jars are no longer being produced. This results in some test failures:

  Scenario Outline: Perform differential backups over gRPC , verify its index, then delete it over gRPC with management API -- @1.1 Local storage
    Given I have a fresh ccm cluster with mgmt api "with_client_encryption" named "scenario18" ... failed in 21.843s
Traceback (most recent call last):
  File "/home/runner/.cache/pypoetry/virtualenvs/cassandra-medusa-Fb2Ow6Sl-py3.9/lib/python3.9/site-packages/behave/model.py", line 1329, in run
    match.run(runner.context)
  File "/home/runner/.cache/pypoetry/virtualenvs/cassandra-medusa-Fb2Ow6Sl-py3.9/lib/python3.9/site-packages/behave/matchers.py", line 98, in run
    self.func(context, *args, **kwargs)
  File "features/steps/integration_steps.py", line 384, in _i_have_a_fresh_ccm_cluster_with_mgmt_api_running
    get_mgmt_api_jars(version=context.cassandra_version)
  File "features/steps/integration_steps.py", line 1807, in get_mgmt_api_jars
    symlink_mgmt_api_jar(version)
  File "features/steps/integration_steps.py", line 1819, in symlink_mgmt_api_jar
    assert Path('/tmp/management-api-agent-3.x/target/datastax-mgmtapi-agent-3.x-0.1.0-SNAPSHOT.jar').is_file()
AssertionError

To fix this, we can have the test setup pull the last supported version of the Cassandra 3.11 agent jar, which would be version v0.1.87

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: MED-103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant