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

feat: Add integration test for dual mode #582

Merged
merged 5 commits into from
Jan 30, 2024
Merged

feat: Add integration test for dual mode #582

merged 5 commits into from
Jan 30, 2024

Conversation

jrconlin
Copy link
Member

@jrconlin jrconlin commented Jan 29, 2024

This adds an integration test for "Dual" mode. Note that this uses a database settings file dual_test.json to contain the doubly escaped values. The values in this file should match those used in test_integration_all_rust.py for data store configuration and set-up.

This also adds a bit more debug messages to indicate successful operations. This was useful while determining a few problems with the configuration, but are not strongly required. I can remove them if requested.

Closes: https://mozilla-hub.atlassian.net/browse/SYNC-4111

@jrconlin jrconlin requested review from pjenvey and Trinaa January 29, 2024 18:05
@@ -69,8 +69,8 @@
MP_CONNECTION_PORT = 9052
MP_ROUTER_PORT = 9072

CONNECTION_BINARY = os.environ.get("CONNECTION_BINARY", "autopush_rs")
CONNECTION_SETTINGS_PREFIX = os.environ.get("CONNECTION_SETTINGS_PREFIX", "autopush__")
CONNECTION_BINARY = os.environ.get("CONNECTION_BINARY", "autoconnect")
Copy link
Member Author

Choose a reason for hiding this comment

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

since we no longer use autopush_rs, switching to autoconnect for this.

Copy link
Member

Choose a reason for hiding this comment

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

Can you kill the CONNECTION_BINARY/SETTINGS override in the Makefile's integration-test target along with this?

@jrconlin jrconlin merged commit 7684875 into master Jan 30, 2024
1 check passed
@jrconlin jrconlin deleted the feat/dual_ci branch January 30, 2024 16:07
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.

2 participants