Nicolas Noble
e3095a15ce
Revert "[Exposing ALTS Context 2/2] Provide a Utility Function to Get Context"
5 years ago
Zhen Lian
fe9576c861
[Exposing ALTS Context 2/2] Provide a Utility Function to Get Context
5 years ago
Prashant Jaikumar
2526dfade5
WIP: Make core and C++ tests work with bazel on Mac OS
5 years ago
Prashant Jaikumar
c9117fa198
Fix C++ tests to enable running on android
5 years ago
Jan Tattermusch
44f6b99d07
disable flaky timer_test on windows
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Vijay Pai
2ded8cbadf
Remove unused parameter warning (14 of 20)
5 years ago
Jan Tattermusch
3080419c90
temporarily disable alarm_test
5 years ago
Vijay Pai
5d7e4bb301
Stop using deprecated gtest macros
5 years ago
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
5 years ago
Prashant Jaikumar
9f02fc7f91
Enable end2end C++ tests on iOS.
...
Some e2e tests were disabled on iOS because they hit the Apple CFStream bug.
This commit enables e2e tests and works around the Apple bug by disabling CFStream.
5 years ago
Prashant Jaikumar
2e1cb0d91a
Don't run time_jump_test under sanitizers
5 years ago
Prashant Jaikumar
d2b5fd75f0
Added test for time jumps
5 years ago
Prashant Jaikumar
4dfa808e75
Add test for timer expiry racing with cancelation
5 years ago
Prashant Jaikumar
2b9ab6d10c
timer_test: add test case for grpc shutdown while timer is pending
5 years ago
Prashant Jaikumar
9a41e12a4f
Skip timer test when running under event manager
5 years ago
Prashant Jaikumar
41986e8ed8
Added test for timer wakeups
5 years ago
Prashant Jaikumar
fbfb93c88f
Fix C++ tests to run on iOS
...
- Define grpc_iomgr_run_in_background in iomgr_posix_cfstream.cc
- Use *_IF_SUPPORTED() for death tests
- Move global test init, teardown to SetUpTestCase, TearDownTestCase as GTMGoogleTestRun doesn't run main()
6 years ago
Bill Feng
d93959853f
Enabled Windows Bazel build for cpp tests
6 years ago
Jan Tattermusch
cf6a311761
Revert "Windows builds for gRPC C++ tests"
6 years ago
billfeng327
4241edeaa4
renamed tag to no_windows in conformation with Bazel and TensorFlow
6 years ago
billfeng327
ab06853fc9
C++ Windows test builds
6 years ago
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
6 years ago
yang-g
d6dd6f25f4
Correctly reference the internal string for socket mutator arg
6 years ago
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
6 years ago
yang-g
7fc52366a0
Fix alarm_test
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Vijay Pai
db01bf793a
Add callback-based alarms
6 years ago
Yang Gao
b840d5e45c
Revert "Add more filter priority levels"
6 years ago
yang-g
d6ef707422
Add more filter priority levels
6 years ago
Vijay Pai
a7df986f08
Expand timeouts to deflake alarm test
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
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
Vijay Pai
28b6a44637
Migrate all remaining features of core test to C++ layer test
7 years ago
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
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
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
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
Craig Tiller
1a8f1e831d
Make alarm_test tolerant of threading
7 years ago
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
7 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago