apolcyn
2a4b7f25e6
testing: add a fake TCP and UDP server to test/core/util (extracted from #27883 ) ( #28332 )
...
* add a fake TCP and UDP server to test/core/util
3 years ago
Craig Tiller
0794973bbb
Reland user-agent metadata work ( #28109 )
...
* Revert "Revert "user-agent metadata trait, also: grpc_core::Slice is born (#27770 )" (#28108 )"
This reverts commit 89d08dad9d
.
* will it blend
* will it blend
* will it blend
* lcnagfmt
* sanity
* will it blend
* sleep @ end
* will it blend
* Revert "sleep @ end"
This reverts commit d6bca8ed3d
.
* review feedback
* review feedback
3 years ago
Jan Tattermusch
89d08dad9d
Revert "user-agent metadata trait, also: grpc_core::Slice is born ( #27770 )" ( #28108 )
...
This reverts commit 7a40f50cb3
.
3 years ago
Craig Tiller
7a40f50cb3
user-agent metadata trait, also: grpc_core::Slice is born ( #27770 )
...
* new slice api
* storage-classes
* Automated change: Fix sanity tests
* tweaks
* refinement
* refinement
* compiles
* Automated change: Fix sanity tests
* better impl
* convert to gtest
* clean
* fixes
* tests
* Automated change: Fix sanity tests
* more-tests
* clarity
* comments
* comments
* fixes
* comment-updates
* fixes
* spam
* Automated change: Fix sanity tests
* move transport size into transport!
* mebbefix
* fix type
* x
* fix-merge
* review feedback
* review feedback
* Automated change: Fix sanity tests
* meh
* review feedback
* fix
* resolve compile issue
* Remove slice_refcount dependency on RefCounted
* update init for channel_data in http_client_filter
* Automated change: Fix sanity tests
* remove banned function
* fixes
* will it blend
* will it blend
* fix refcount init
* fix
* fix comment
* Fix typo in bloat script
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
a629c9a03e
Reland resource quota work ( #28017 )
...
* Check if memory owner available prior to polling it
The transport may drop the memory owner during its destruction sequence
* tcp_fix
* Revert "Revert "New resource quota integration (#27643 )" (#28014 )"
This reverts commit 0ea2c37263
.
* clang-format
* fix-path
* fix
3 years ago
Craig Tiller
0ea2c37263
Revert "New resource quota integration ( #27643 )" ( #28014 )
...
This reverts commit 39f0877d25
.
3 years ago
Craig Tiller
39f0877d25
New resource quota integration ( #27643 )
...
* new resource quota integration
* Automated change: Fix sanity tests
* fix
* fix
* fixes
* fixes
* fixes
* Automated change: Fix sanity tests
* fixes
* fixes
* Automated change: Fix sanity tests
* fixes
* fix
* fixes
* windows-fix
* fixes
* fixes
* fix
* fix-asan
* banned
* banned
* fixes
* clang-tidy-fix
* Automated change: Fix sanity tests
* fix-cronet
* review feedback
* review feedback
* Automated change: Fix sanity tests
* fixes
* bug fix
* fixes
* compile fix
* exclude megabyte size payloads from 1byte tests
* windows fix
* start moving ios
* keep moving windows
* Get windows compilation working.
* Automated change: Fix sanity tests
* better
* fixes
* remove slice buffer from memory_allocator.h
* Revert "remove slice buffer from memory_allocator.h"
This reverts commit 234a63b6e3
.
* ugh
* #fixtests
* pthread tls fixes
* Automated change: Fix sanity tests
* fixfixfix
* xxx
* add reset
* review feedback
* fix
* fix
* fixes
* fix
* mac progress
* cpp-impl-of
* rename ptr
* Automated change: Fix sanity tests
* memory-owner-is-a-memory-allocator
* fixes
* fix
* fix from prod
* fix
* Fix issue leading to bad pointers being returned on Windows.
* Automated change: Fix sanity tests
* fix multislice bug
* argh
* hyrums law fixes
* hyrums law fixes
* clang-format
* hyrums law fixes
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
75a54f55e3
Remove trickle benchmarks ( #28000 )
...
* Remove trickle benchmarks
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Richard Belleville
468768865b
Make Buildifier Sanity Test Strict ( #27807 )
...
* Fix all lint errors in repo.
* Use strict buildifier by default
* Whoops. That file does not exist
* Attempt fix to buildifier invocation
* Add missing copyright
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
Craig Tiller
9b41852a5e
channel_init --> core configuration system ( #27347 )
...
* channel_init --> core configuration system
* Automated change: Fix sanity tests
* fixes
* Automated change: Fix sanity tests
* fixes
* fixes
* eliminate grpc_base_c
* fixes
* fix merge
* fix
* update visibility
* fixes
* feedback
* fix comment
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
AJ Heller
d10617edb5
Move resource_user ownership into chttp2 transport/server/connector v2 ( #27032 )
...
Reintroducing PR #26643 , which was reverted in #27029
Fixed a memory leak and added a test that would have caught it (ASAN build): ca0c8c4
3 years ago
Craig Tiller
f5d3ed2db1
Revert "Move resource_user ownership into chttp2 transport/server/connector ( #26643 )" ( #27029 )
...
This reverts commit d1935a65a1
. Will be rolled forward with a fix.
3 years ago
AJ Heller
d1935a65a1
Move resource_user ownership into chttp2 transport/server/connector ( #26643 )
3 years ago
Craig Tiller
0bd70a7e3e
Add Match/Overload abstractions ( #26640 )
...
* match/overload abstraction
* update projects
* match should really not accept mutable args
* typo
* tests
* usage comment
* mutable version
* build stuff
* clang-format
* add an escape hatch to avoid needing port_platform.h in files that do not need port_platform.h
* unused args
* Make it possible for a test to not depend on gpr
* add tests
* compile fix
* sepelling
3 years ago
Ashitha Santhosh
e438fa609b
Separate connection specific args in EvaluaetArgs. ( #25969 )
4 years ago
Ashitha Santhosh
8489a6050b
Revert "Rbac Matcher implementation. ( #25653 )" ( #25957 )
...
This reverts commit 1fb4f715db
.
4 years ago
Ashitha Santhosh
1fb4f715db
Rbac Matcher implementation. ( #25653 )
4 years ago
Jan Tattermusch
65454866da
use linkstatic for libraries that contain main() ( #25517 )
4 years ago
ZhenLian
de4e8a4680
refactor PemKeyCertPair
4 years ago
Mark D. Roth
e4faf1945d
Remove grpc_client_channel_get_subchannel_call().
4 years ago
capstan
131579d52d
Roll forward of commit 7883b51: Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
This reverts commit da66b7d14e
.
NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440
.
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
4 years ago
Esun Kim
f3e75c1fa9
Add stack-tracer to gRPC
4 years ago
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
4 years ago
yang-g
8456e2138a
Check localhost is resolved to ipv4 or ipv6 and update test accordingly.
4 years ago
capstan
7883b5133d
Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
4 years ago
Esun Kim
1408523429
Add examine_stack to test util
4 years ago
ashithasantosh
5820e833fc
Add activation logic and endpoint getters.
4 years ago
Yash Tibrewal
55821f5cf8
Revert "Merge pull request #23786 from michaelywg/cel_create_activation"
...
This reverts commit fe59761648
, reversing
changes made to 1856e224c3
.
4 years ago
Michael Wang
b8771966f1
Added tests for eval_args address/port getters. Implemented said getters and CreateActivation.
...
Added logging for unsupported attributes
fixed make issues by moving grpc_authorization_engine under grpc
changed inet_aton to inet_pton
fixed issue leftover from initial implementation of evalargs
4 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
5 years ago
yang-g
37783d6329
Stop calling ParseCommandLineFlags directly, use wrapper call instead
6 years ago
Bill Feng
df89d8e157
bazel RBE Windows build
6 years ago
Moiz Haidry
ba00d3c914
Added a locality map class that maintains a child policy per locality. This is used by the xds lb policy to manage multiple localities. Also added a grpc_core::Map which is a templatized map, that is used by the locality map to maintain this info
6 years ago
Mark D. Roth
d655509e3d
Fix sanity and build.
6 years ago
Mark D. Roth
40f22bfc94
move ForwardingLoadBalancingPolicy to its own library
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
bd3bb8e289
BUILD fix.
6 years ago
yang-g
cdd698810b
Move grpc_shutdown internals to a detached thread
6 years ago
Adele Zhou
1f3d714d07
Move suppressions files under test/core/util to avoid creating a BUILD file under tools, which breaks import.
7 years ago
adelez
5bdd9a8cb9
Revert "Revert "Add suppressions to sanitizers for bazel builds""
7 years ago
Nicolas Noble
43557fee0b
Revert "Add suppressions to sanitizers for bazel builds"
7 years ago
Adele Zhou
df5ca2532a
Add suppressions files as data dependency to gpr_test_util
7 years ago
Yihua Zhang
cc93663910
Add ALTS fuzzer
7 years ago
ncteisen
bec1a61c26
Reviewer feedback
7 years ago
ncteisen
9efb177730
Review feedback, gTest
7 years ago
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
7 years ago
ncteisen
d6631b0d61
Update bazel files
7 years ago
Adele Zhou
5b7cdefb68
Rename port_hermetic to port_isolated_runtime_environment
7 years ago