Skip to content

Conversation

@murgatroid99
Copy link
Member

@murgatroid99 murgatroid99 commented Jun 9, 2025

This uses some of the tools that were originally implemented for the fallback test to implement a test for the federation feature. The test spreads resources across two control plane servers, so that both a client and a server need to use the authority information in the resource URLs to know which control plane server to request each resource from, and they need to contact both control plane servers to get their complete configurations. go-control-plane imposes some constraints on what combinations of resources it will serve, so both control plane servers have all of the server resources, but the specified authorities should cause the server to contact both anyway, and we attempt to confirm that by testing that it has a connection to both control plane servers.

While implementing this, I had to make a couple of changes that impacted the fallback test:

  • I modified the bootstrap file template to include the federation fields, and I made the bootstrap generator function more general.
  • I modified the resource generation code to be able to generate individual resources and group them together separately.

Test runs:

@murgatroid99 murgatroid99 requested a review from a team as a code owner June 9, 2025 21:46
@murgatroid99 murgatroid99 requested a review from sergiitk June 9, 2025 21:46
@murgatroid99
Copy link
Member Author

murgatroid99 commented Aug 27, 2025

@murgatroid99
Copy link
Member Author

murgatroid99 commented Aug 27, 2025

@murgatroid99 murgatroid99 merged commit 522d1a7 into grpc:main Aug 27, 2025
6 checks passed
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