Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
Esun Kim
ec0b88a5d7
Fix google-readability-casting
4 years ago
David Garcia Quintas
4b31e36a19
Fixed tests call host
7 years ago
Mark D. Roth
718c8341ca
Retry support.
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Muxi Yan
e6d888d0a0
Change C core surface API
7 years ago
Yash Tibrewal
7cdd99c86e
Adding more pointer type conversions
7 years ago
Muxi Yan
6f8217ba2f
Polish names of tests
7 years ago
Muxi Yan
df174ccd69
bug fix
7 years ago
Muxi Yan
121e789f1d
Add tests
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Alexander Polcyn
f5521c33f9
Revert "Merge branch 'master' into v1.3.x"
...
This reverts commit 79759fea1a
, reversing
changes made to dc36f4df6a
.
8 years ago
Chris Evans
ed2a5470db
Calculate RPC deadline right before call creation
...
Most core end2end tests are written around a single RPC with an explicit
deadline. Currently, this deadline is calculated before bringing up the
test fixture, and thus time spent bringing up the test fixture is taken
from the time allotted to the RPC.
This change moves the calculation of these deadlines immediately before
call creation. Additionally, the functions that calculate these
deadlines have been renamed from 'xx_seconds_time()' to
'xx_seconds_from_now()' for clarity.
8 years ago
Craig Tiller
dd36b15315
Call ref/unref, bugfixes
8 years ago
Sree Kuchibhotla
321881d07f
Change Core to use the new completion_queue_create API
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Mark D. Roth
835646e9ff
Fix tests.
8 years ago
Robbie Shade
55a046a479
Add a 'Running test: ' string to test output
8 years ago
Mark D. Roth
435f9f23ef
Fix tests.
8 years ago
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97
.
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Craig Tiller
ee0e0681b7
Increase timeout to make this pass reliably on Windows
8 years ago
Craig Tiller
c9b0b28772
Progress towards mdstr elimination
8 years ago
Muxi Yan
5ebd327cf5
Clean with clang-format
8 years ago
Muxi Yan
ea3b568b8f
Put validation of host name in a function
8 years ago
Muxi Yan
56456c38e0
Use get_host_override_string function inline
8 years ago
Muxi Yan
df1da9ffc0
Convert validate_host_override_string into a function and rename into get_host_override_string
8 years ago
Mark D. Roth
e127a39f45
Change tests to use channel args instead of fake_resolver query args.
8 years ago
Craig Tiller
28b72428a8
clang-format
8 years ago
Craig Tiller
d41a4a720f
s/gpr_slice/grpc_slice, and move around tests, impls
8 years ago
Craig Tiller
68cf8ce866
Fix payload tests under windows
8 years ago
Mark D. Roth
ec393343ee
Add h2_fake_resolver end2end test fixture.
8 years ago
Muxi Yan
6d68645162
Update unit tests and fixtures with AUTHORITY_HEADER support option
8 years ago
Craig Tiller
fc2636d7a6
Fix resource leak
8 years ago
Mark D. Roth
7187ab9866
Change cq_verifier to report file and line number for expectations.
8 years ago
Robbie Shade
1bbfe0fb43
clang-format remove blank lines
8 years ago
Robbie Shade
c6f776752d
Explicitly add terminating null character.
9 years ago
Robbie Shade
61aed92b82
Just create 1 MB strings, no argument.
9 years ago
Robbie Shade
bd10faaf0f
Fixing int conversion warnings
9 years ago
Robbie Shade
2449e193bb
Extends the payload test to use large random bodies.
9 years ago