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

adds code to generate data for upgrade test #4718

Draft
wants to merge 1 commit into
base: 3.1
Choose a base branch
from

Conversation

keith-turner
Copy link
Contributor

@keith-turner keith-turner commented Jul 1, 2024

Adds a disabled integration test that will generate data for an upgrade test. This is intended to be used manually in the following way.

  1. Checkout version 3.1.x
  2. Run UpgradeGenerateIT which will generate instances test/target/upgrade-test
  3. Checkout version 4.0.x
  4. Run mvn package (not clean)
  5. Run UpgradeIT which will upgrade and verify the instances in test/target/upgrade-test

UpgradeIT does not exist in this commit, its added in #4719

Adds a disabled integration test that will generate data
for an upgrade test.  This is intended to be used manually
in the following way.

 1. Checkout version 3.1.x
 2. Run UpgradeGenerateIT which will generate instances test/target/upgrade-test
 3. Checkout version 4.0.x
 4. Run mvn package (not clean)
 5. Run UpgradeIT which will upgrade and verify the instances in test/target/upgrade-test

UpgradeIT does not exist in this commit.  It exists in the 4.0 branch.
@keith-turner
Copy link
Contributor Author

keith-turner commented Jul 1, 2024

I attempted the approach of zipping the output of generating an accumulo instance for upgrade testing so that it could be placed in test/resources. However this was problematic because accumulo metadata contains absolute paths making it not relocatable. So decided to go with the approach of running the 3.1 and 4.0 code on the same system and same directory manually now for upgrade testing.

@keith-turner keith-turner linked an issue Jul 1, 2024 that may be closed by this pull request
@dlmarion dlmarion changed the base branch from main to 3.1 August 26, 2024 12:03
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

Successfully merging this pull request may close these issues.

Implement upgrade from 3.1 to 4.0
1 participant