Skip to content

testing: add a fake TCP and UDP server to test/core/util (extracted from #27883)#28332

Merged
apolcyn merged 4 commits intogrpc:masterfrom
apolcyn:fake_server_util
Dec 14, 2021
Merged

testing: add a fake TCP and UDP server to test/core/util (extracted from #27883)#28332
apolcyn merged 4 commits intogrpc:masterfrom
apolcyn:fake_server_util

Conversation

@apolcyn
Copy link
Copy Markdown
Contributor

@apolcyn apolcyn commented Dec 10, 2021

This is extracted from #27883, since it's a mostly independent change from the rest of #27883.

This change merges the fake servers implemented separately in alts_concurrrent_connectivity_test.cc and the fake UDP server in test/cpp/naming/dns_test_util.h into a single fake that lives in test/core/util.

@ctiller
Copy link
Copy Markdown
Member

ctiller commented Dec 10, 2021

Given #27595 removed our UDP code, is having a UDP fake still useful?

@apolcyn
Copy link
Copy Markdown
Contributor Author

apolcyn commented Dec 10, 2021

Given #27595 removed our UDP code, is having a UDP fake still useful?

Yeah, the UDP fake is still used in some DNS resolver tests (mainly to act as a non-responsive DNS server).

Copy link
Copy Markdown
Member

@markdroth markdroth left a comment

Choose a reason for hiding this comment

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

Reviewed 10 of 13 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @apolcyn)

@apolcyn
Copy link
Copy Markdown
Contributor Author

apolcyn commented Dec 14, 2021

python windows: #25124
macos artifacts: b/209603283

@apolcyn apolcyn merged commit 2a4b7f2 into grpc:master Dec 14, 2021
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Dec 15, 2021
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/c++ lang/core perf-change/none 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.

3 participants