Skip to content

xds: Verify CSDS error responses do not complete - #13171

Open
JoeCqupt wants to merge 1 commit into
grpc:masterfrom
JoeCqupt:feat/csds-handle-request-completion-test
Open

JoeCqupt wants to merge 1 commit into
grpc:masterfrom
JoeCqupt:feat/csds-handle-request-completion-test

Conversation

@JoeCqupt

@JoeCqupt JoeCqupt commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Add a test for the CSDS unary RPC that verifies an invalid request calls
responseObserver.onError() with INVALID_ARGUMENT and never calls
responseObserver.onCompleted().

This covers the case described by the TODO: if handleRequest() were to
return true after reporting an error, the test would fail. The internal
service class is package visible so the test can verify the observer directly.

@JoeCqupt
JoeCqupt force-pushed the feat/csds-handle-request-completion-test branch from 3d31555 to 4534fe6 Compare November 4, 2026 08:01
@JoeCqupt

JoeCqupt commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

@kannanjgithub @sergiitk PTAL

This branch has not been deployed

No deployments
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.

1 participant