Skip to content

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

Open
@easwars

Description

@easwars

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

Metadata

Metadata

Labels

Area: xDSIncludes everything xDS related, including LB policies used with xDS.P2Type: Testing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions