Skip to content

MetadataQuery: make metadata server hostname overrideable#32496

Merged
apolcyn merged 2 commits intogrpc:masterfrom
apolcyn:fix_fake
Feb 28, 2023
Merged

MetadataQuery: make metadata server hostname overrideable#32496
apolcyn merged 2 commits intogrpc:masterfrom
apolcyn:fix_fake

Conversation

@apolcyn
Copy link
Copy Markdown
Contributor

@apolcyn apolcyn commented Feb 28, 2023

In #32294 , we accidentally stopped plumbing grpc.testing.google_c2p_resolver_metadata_server_override to the metadata server http queries. So, we stopped actually using the fake metadata servers injected in

args.SetString("grpc.testing.google_c2p_resolver_metadata_server_override",
.

The brings that back.

@apolcyn apolcyn merged commit 2036ab9 into grpc:master Feb 28, 2023
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Mar 1, 2023
apolcyn added a commit that referenced this pull request Mar 1, 2023
…e server that immediatley closes the connection (#32499)

Alongside #32496, this makes this test
behave the same on all platforms.

FWIW, I verified this causes us to see the previous lock cycle problem
in #32491 on linux - originally that
lock cycle was only on mac, because of environmental differences between
mac and linux in CI.
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this pull request May 1, 2023
In grpc#32294 , we accidentally stopped
plumbing `grpc.testing.google_c2p_resolver_metadata_server_override` to
the metadata server http queries. So, we stopped actually using the fake
metadata servers injected in
https://github.com/grpc/grpc/blob/b3d68001f7420ccb47615ed88ac79b4c0456f897/test/core/client_channel/resolvers/google_c2p_resolver_test.cc#L48.

The brings that back.
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this pull request May 1, 2023
…e server that immediatley closes the connection (grpc#32499)

Alongside grpc#32496, this makes this test
behave the same on all platforms.

FWIW, I verified this causes us to see the previous lock cycle problem
in grpc#32491 on linux - originally that
lock cycle was only on mac, because of environmental differences between
mac and linux in CI.
wanlin31 pushed a commit that referenced this pull request May 18, 2023
In #32294 , we accidentally stopped
plumbing `grpc.testing.google_c2p_resolver_metadata_server_override` to
the metadata server http queries. So, we stopped actually using the fake
metadata servers injected in
https://github.com/grpc/grpc/blob/b3d68001f7420ccb47615ed88ac79b4c0456f897/test/core/client_channel/resolvers/google_c2p_resolver_test.cc#L48.

The brings that back.
wanlin31 pushed a commit that referenced this pull request May 18, 2023
…e server that immediatley closes the connection (#32499)

Alongside #32496, this makes this test
behave the same on all platforms.

FWIW, I verified this causes us to see the previous lock cycle problem
in #32491 on linux - originally that
lock cycle was only on mac, because of environmental differences between
mac and linux in CI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bloat/none imported Specifies if the PR has been imported to the internal repository lang/core per-call-memory/neutral per-channel-memory/neutral release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants