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

xdsclient: add an e2e style test for fallback involving more than 2 servers #7817

Open
easwars opened this issue Nov 6, 2024 · 0 comments
Open
Assignees

Comments

@easwars
Copy link
Contributor

easwars commented Nov 6, 2024

At a high level, we want the test to do the following:

  • Configure three management servers: primary, secondary1 and secondary2
  • Create a bootstrap configuration with an authority that contains server configurations for all the above three servers
  • Create a grpc channel with the xds scheme, that results in the creation of an xds client that uses the above bootstrap configuration
  • Primary should not return all requested xds resources and there should be a stream failure
  • This should trigger fallback to secondary1, which should also not return all requested xds resources, and again there should be a stream failure
  • This should trigger fallback to secondary2, which should return all requested xds resources
  • Ensure that RPCs succeed using the configuration from secondary2
  • Bring secondary1 back up and ensure that it serves the full configuration
  • Ensure that RPCs succeed, now using the configuration from secondary1
  • Bring primary back up and ensure that it serves the full configuration
  • Ensure that RPCs succeed, now using the configuration form the primary
@easwars easwars self-assigned this Nov 6, 2024
@easwars easwars added the P2 label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant