Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interop-testing: add fake altsHandshakerService for test #7847

Merged
merged 7 commits into from Feb 10, 2021

Conversation

YifeiZhuang
Copy link
Contributor

No description provided.

private void startAltsServer() throws Exception {
executor = Executors.newSingleThreadScheduledExecutor();
ServerCredentials serverCreds = AltsServerCredentials.newBuilder()
private Server registerTestServer() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually you can still use void startAltsServer(), only change in the old code needed is testServer = grpcCleanup.register(.....).start(); Registering is only a small step and does not deserve a method name.

@YifeiZhuang YifeiZhuang requested review from dapengzhang0 and removed request for dapengzhang0 February 8, 2021 18:05
@YifeiZhuang YifeiZhuang merged commit 7f7821c into grpc:master Feb 10, 2021
@YifeiZhuang YifeiZhuang deleted the zivy/alts-handshaker branch February 10, 2021 00:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 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.

None yet

2 participants