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

chore: e2e test for multi tenancy #1937

Closed
wants to merge 52 commits into from
Closed

Conversation

kevin-dp
Copy link
Contributor

@kevin-dp kevin-dp commented Nov 6, 2024

This PR adds an e2e test for multi tenancy.
It checks:

  • adding new tenants
  • per-tenant health check
  • initial sync works
  • live queries work and does not interfere between tenants
  • tenants are persisted and reloaded when Electric restarts
  • tenants can be deleted

kevin-dp and others added 30 commits November 4, 2024 16:33
On CI we don't wait for the database to start accepting connections
before running Electric. And we cannot check the response body of the
health check request. So adjusting the response status is the only
remaining option.
Copy link

netlify bot commented Nov 6, 2024

Deploy Preview for electric-next ready!

Name Link
🔨 Latest commit e0ff4ef
🔍 Latest deploy log https://app.netlify.com/sites/electric-next/deploys/672b32de56798400081ef3ed
😎 Deploy Preview https://deploy-preview-1937--electric-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kevin-dp kevin-dp closed this Nov 6, 2024
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.

3 participants