Skip to content

interop-testing: add xds test service to set healthy/unhealthy#7127

Merged
ericgribkoff merged 1 commit intogrpc:masterfrom
ericgribkoff:xds_server_health
Jun 16, 2020
Merged

interop-testing: add xds test service to set healthy/unhealthy#7127
ericgribkoff merged 1 commit intogrpc:masterfrom
ericgribkoff:xds_server_health

Conversation

@ericgribkoff
Copy link
Copy Markdown
Contributor

This adds a simple service to the XdsTestServer to allow dynamically changing the server's health status to/from serving/not-serving. The existing xds tests simply kill the VM to simulate an unhealthy server - in retrospect this approach seems suboptimal generally, but in particular it made it impossible to test the new gentle failover feature which relies on VMs existing but reporting unhealthy. Now the test runner can simply send an RPC to the server and have it ~instantly switch between health statuses rather than waiting for VMs to start/stop.

@ericgribkoff ericgribkoff merged commit c3b62f2 into grpc:master Jun 16, 2020
@ericgribkoff ericgribkoff deleted the xds_server_health branch June 16, 2020 05:52
dfawley pushed a commit to dfawley/grpc-java that referenced this pull request Jan 15, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants