Skip to content

Helper class to allow in process servers to use peer uids in test#11014

Merged
jdcormie merged 8 commits into
grpc:masterfrom
abtom:master
Mar 22, 2024
Merged

Helper class to allow in process servers to use peer uids in test#11014
jdcormie merged 8 commits into
grpc:masterfrom
abtom:master

Conversation

@abtom

@abtom abtom commented Mar 14, 2024

Copy link
Copy Markdown
Contributor

We use in process servers for testing which currently does not allow the use peer uids due to InProcessBuilder not setting the correct values. Adding a test only interceptor so that we can use peer uids in in process servers.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Mar 14, 2024

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

@abtom

abtom commented Mar 14, 2024

Copy link
Copy Markdown
Contributor Author

See cl/613744041

@jdcormie jdcormie added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Mar 18, 2024
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Mar 18, 2024
@jdcormie jdcormie self-assigned this Mar 18, 2024
@jdcormie

Copy link
Copy Markdown
Member

Can you update this to the latest piper revision ?

Also please move the PeerUidTestHelper from src/main/ to src/testFixtures/. PeerUidTestHelperTest should stay in src/test/

@abtom

abtom commented Mar 20, 2024

Copy link
Copy Markdown
Contributor Author

updated

@jdcormie

Copy link
Copy Markdown
Member

Can you make sure the whitespace and formatting complies with
https://github.com/grpc/grpc-java/blob/master/CONTRIBUTING.md#code-style ?

Comment thread binder/build.gradle Outdated
@jdcormie jdcormie added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Mar 22, 2024
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Mar 22, 2024
@jdcormie jdcormie merged commit 537dbe8 into grpc:master Mar 22, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 21, 2024
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.

3 participants