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

Introduce EndpointConfig and load endpoint settings from the endpoints.json file #3836

Merged
merged 13 commits into from
May 21, 2024

Conversation

uglide
Copy link
Contributor

@uglide uglide commented May 7, 2024

This PR aims to introduce a better way to manage connection settings in the tests while making minimal possible impact.

Out of the scope:
Rewriting/Updating all the tests to support endpoint swapping

@uglide uglide force-pushed the tests_add_support_for_endpoints_config branch from 123c696 to d937cd6 Compare May 8, 2024 15:23
@uglide uglide changed the title Let's get the hardcode-removal party started :) Introduce EndpointConfig and load endpoint settings from the endpoints.json file May 8, 2024
@uglide uglide marked this pull request as ready for review May 9, 2024 11:10
Copy link
Contributor

@gerzse gerzse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@uglide
Copy link
Contributor Author

uglide commented May 17, 2024

Integration fails due to a new, unrelated problem with GearsTest.testFunctionListNoCodeVerboseZero test on the main branch.

@uglide uglide requested a review from gerzse May 17, 2024 11:25
gerzse
gerzse previously approved these changes May 17, 2024
uglide and others added 12 commits May 21, 2024 12:01
- Introduce EndpointURIBuilder for creating customized URIs
- Remove getJedis and getConnection methods
- Improve naming for endpoint variables
- Add support for endpoints without username
- Improve endpoints naming in AutomaticFailoverTest
- Remove more hardcoded settings from Migrate tests
- Fix comments in SSLACL tests
@uglide uglide force-pushed the tests_add_support_for_endpoints_config branch from 99cfbdb to 079172d Compare May 21, 2024 10:02
Copy link
Collaborator

@sazzad16 sazzad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@uglide uglide merged commit 327215a into master May 21, 2024
5 checks passed
@uglide uglide deleted the tests_add_support_for_endpoints_config branch May 21, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants