Skip to content

Commit

Permalink
[EventEngine] Refactoring the EventEngine Test Suite: Part 1 (#32127)
Browse files Browse the repository at this point in the history
* Add back EventEngine test suite tools (echo binary)

This reverts commit d5c1219.

* more refactoring

* fix

* Automated change: Fix sanity tests

* fix

* fix posix oracle build def

* fix FuzzingEventEngine includes

* sanitize

* tidy and rm DNS

* fix cfstream includes

* header guards

* format & fix deps

* fix

* fix

* iwyu

* fix

* remove redundant code

* reviewer feedback

Co-authored-by: drfloob <drfloob@users.noreply.github.com>
  • Loading branch information
2 people authored and wanlin31 committed May 18, 2023
1 parent dcf3666 commit 0b1d6a5
Show file tree
Hide file tree
Showing 35 changed files with 852 additions and 240 deletions.
54 changes: 30 additions & 24 deletions CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bazel/grpc_build_system.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def grpc_cc_test(name, srcs = [], deps = [], external_deps = [], args = [], data
"linkstatic": linkstatic,
}

if "grpc-fuzzer" not in tags:
if "grpc-fuzzer" not in tags and "no_test_ios" not in tags:
ios_cc_test(
name = name,
srcs = srcs,
Expand Down
93 changes: 53 additions & 40 deletions build_autogenerated.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions test/core/event_engine/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,25 @@ grpc_cc_test(
"//src/core:iomgr_port",
],
)

grpc_cc_library(
name = "event_engine_test_utils",
testonly = True,
srcs = ["event_engine_test_utils.cc"],
hdrs = ["event_engine_test_utils.h"],
external_deps = [
"absl/status",
"absl/status:statusor",
"absl/strings",
"absl/time",
],
deps = [
"//:gpr",
"//:grpc_unsecure",
"//src/core:channel_args_endpoint_config",
"//src/core:event_engine_tcp_socket_utils",
"//src/core:memory_quota",
"//src/core:notification",
"//src/core:time",
],
)

0 comments on commit 0b1d6a5

Please sign in to comment.