Juanli Shen
d0578ceb31
Merge pull request #21298 from grpc/revert-21196-zhen_alts_context_C++_2
...
Revert "[Exposing ALTS Context 2/2] Provide a Utility Function to Get Context"
2019-11-27 09:08:35 -08:00
Jan Tattermusch
aa40b1c8b8
Merge pull request #20510 from jtattermusch/bazel_test_on_mac
...
Start running bazel C/C++ tests on mac
2019-11-27 12:09:43 +01:00
Nicolas Noble
e3095a15ce
Revert "[Exposing ALTS Context 2/2] Provide a Utility Function to Get Context"
2019-11-26 10:32:24 -08:00
Zhen Lian
fe9576c861
[Exposing ALTS Context 2/2] Provide a Utility Function to Get Context
2019-11-25 15:56:33 -08:00
Prashant Jaikumar
2526dfade5
WIP: Make core and C++ tests work with bazel on Mac OS
2019-11-25 13:35:26 +01:00
Prashant Jaikumar
c9117fa198
Fix C++ tests to enable running on android
2019-11-14 16:20:33 -08:00
Jan Tattermusch
44f6b99d07
disable flaky timer_test on windows
2019-11-06 10:16:01 -05:00
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
2019-11-05 14:03:52 -08:00
Vijay Pai
2ded8cbadf
Remove unused parameter warning (14 of 20)
2019-10-17 08:51:44 -07:00
Jan Tattermusch
3080419c90
temporarily disable alarm_test
2019-09-30 13:28:01 +02:00
Jan Tattermusch
24b529e408
Merge pull request #20343 from jtattermusch/bazel_tests_uses_polling
...
Set "uses_polling" arg for bazel tests
2019-09-30 08:13:31 +02:00
Vijay Pai
5d7e4bb301
Stop using deprecated gtest macros
2019-09-24 14:56:41 -07:00
Jan Tattermusch
6ebc1c616f
set uses_polling=False for some bazel tests
2019-09-24 09:50:00 +02:00
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.
2019-09-05 13:43:45 -07:00
Prashant Jaikumar
2e1cb0d91a
Don't run time_jump_test under sanitizers
2019-08-30 11:43:21 -07:00
Prashant Jaikumar
d2b5fd75f0
Added test for time jumps
2019-08-29 22:41:06 -07:00
Prashant Jaikumar
4dfa808e75
Add test for timer expiry racing with cancelation
2019-08-28 17:09:42 -07:00
Prashant Jaikumar
2b9ab6d10c
timer_test: add test case for grpc shutdown while timer is pending
2019-08-23 13:54:16 -07:00
Prashant Jaikumar
9a41e12a4f
Skip timer test when running under event manager
2019-08-22 18:41:38 -07:00
Prashant Jaikumar
41986e8ed8
Added test for timer wakeups
2019-08-20 15:51:02 -07:00
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()
2019-06-20 18:16:20 -07:00
Bill Feng
d93959853f
Enabled Windows Bazel build for cpp tests
2019-03-21 18:00:48 -07:00
Jan Tattermusch
cf6a311761
Revert "Windows builds for gRPC C++ tests"
2019-03-15 17:15:20 +01:00
billfeng327
4241edeaa4
renamed tag to no_windows in conformation with Bazel and TensorFlow
2019-03-07 14:52:49 -08:00
billfeng327
ab06853fc9
C++ Windows test builds
2019-03-06 15:47:49 -08:00
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
2019-02-05 14:07:40 -08:00
yang-g
d6dd6f25f4
Correctly reference the internal string for socket mutator arg
2018-12-20 15:37:30 -08:00
yang-g
038a71d826
Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util
2018-12-17 08:52:20 -08:00
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.
2018-12-13 10:38:12 -05:00
yang-g
7fc52366a0
Fix alarm_test
2018-12-07 10:01:54 -08:00
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
2018-12-06 14:37:52 -08:00
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
2018-11-30 08:57:38 -08:00
Vijay Pai
db01bf793a
Add callback-based alarms
2018-09-13 09:54:41 -07:00
Yang Gao
b840d5e45c
Revert "Add more filter priority levels"
2018-08-16 08:58:26 -07:00
yang-g
d6ef707422
Add more filter priority levels
2018-08-01 11:22:32 -07:00
Vijay Pai
a7df986f08
Expand timeouts to deflake alarm test
2018-03-27 10:55:41 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
Noah Eisen
4d20a66685
Run clang fmt
2018-02-09 09:34:04 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
2018-02-02 09:16:44 -08:00
Vijay Pai
28b6a44637
Migrate all remaining features of core test to C++ layer test
2018-01-21 21:04:37 -08:00
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
2018-01-21 21:03:56 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
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
2017-11-28 18:06:23 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
2017-11-10 14:14:17 -08:00
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
2017-11-09 18:27:37 -08:00
Yash Tibrewal
40422d5fa6
Merge master
2017-11-06 14:43:31 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
2017-10-25 17:04:35 -07:00
Craig Tiller
1a8f1e831d
Make alarm_test tolerant of threading
2017-09-21 10:07:36 -07:00
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
2017-09-07 11:34:13 -07:00
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
2017-08-30 19:18:37 +02:00
Vijay Pai
81522c8ebe
Add unsecure libraries to bazel build targets
2017-08-02 19:44:32 -07:00
Nicolas Noble
9877189e45
Merge pull request #11310 from nicolasnoble/import
...
Import mutations.
2017-07-13 13:39:58 -07:00
Mark D. Roth
96e51c8e56
Merge pull request #11648 from markdroth/c++_filter_fixes
...
Improvements to C++ filter API
2017-06-30 11:41:45 -07:00
Mark D. Roth
cc4ef5919f
Improvements to C++ filter API:
...
- Make sure all C-core parameters are passed into C++ methods.
- Add Destroy() methods for ChannelData and CallData.
- Use C++-style casts.
- Add 'extern "C"' to iomgr/closure.h, which is used in C++ filters.
2017-06-29 08:11:57 -07:00
David Garcia Quintas
ab1ff6b041
Split move test
2017-06-28 14:14:24 -07:00
Nicolas "Pixel" Noble
5d80dc4985
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-06-26 22:01:11 +02:00
David Garcia Quintas
e48949f0b4
Make grpc::Alarm non-copyable
2017-06-20 15:42:56 -07:00
Jan Tattermusch
4d5c3102a1
fix remaining license notices
2017-06-08 11:22:41 +02:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
2017-05-19 01:53:56 +02:00
Nicolas "Pixel" Noble
e40877931a
Missed one gtest reference.
2017-05-11 00:42:32 +02:00
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
2017-04-13 02:03:22 +02:00
Nicolas "Pixel" Noble
8e0684b5d4
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
2017-03-27 18:50:04 +02:00
Yuchen Zeng
9f0a115f05
Test if the user agent string is copied correctly
2017-03-22 18:03:06 -07:00
Nicolas "Pixel" Noble
ddab452096
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
2017-03-22 18:30:44 +01:00
Yuchen Zeng
4564b8cde7
Copy value at SetPointerWithVtable
2017-03-14 11:40:56 -07:00
Craig Tiller
bf515b6f7f
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-24 16:23:50 -08:00
Craig Tiller
eb022becae
Fix compile
2017-02-22 08:08:53 -08:00
Craig Tiller
bbc1eb00a8
Finish test/cpp/common
2017-02-17 14:40:40 -08:00
Craig Tiller
05fbe3c518
Get gtest building with Bazel, add first test in test/cpp/common/BUILD
2017-02-17 13:27:21 -08:00
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
2017-01-31 15:40:20 -05:00
Craig Tiller
0704727c2d
Merge github.com:grpc/grpc into slice_with_exec_ctx
2016-12-27 08:38:35 -08:00
Mark D. Roth
13f3574642
clang-format
2016-12-14 12:39:03 -08:00
Mark D. Roth
42663fb20e
Fix bug.
2016-12-12 10:51:01 -08:00
Mark D. Roth
aa1cd14729
Clean up C++ filter API.
2016-12-12 10:24:59 -08:00
Craig Tiller
25910a2896
Fix compilation
2016-12-06 17:39:45 -08:00
Yuchen Zeng
5c1f55af23
Merge pull request #8335 from y-zeng/tos
...
Add grpc_socket_mutator
2016-11-11 15:05:14 -08:00
Yuchen Zeng
7810898658
Add grpc_socket_mutator_compare
2016-11-08 14:28:03 -08:00
Mark D. Roth
0ace62f832
Merge pull request #8618 from markdroth/channel_info_api
...
Add API for getting arbitrary state back from a channel
2016-11-08 10:45:21 -08:00
Craig Tiller
cd78879c56
Fix test
2016-11-08 08:56:18 -08:00
Mark D. Roth
0e44a258cb
Fix C++ filter API and add test for it.
2016-11-07 11:26:05 -08:00
Vijay Pai
c0b2acb1a0
Use C++11 final and override
2016-11-01 16:31:56 -07:00
Yuchen Zeng
87772d5b88
Fix asan issues, clean up
2016-10-14 11:33:16 -07:00
Yuchen Zeng
de3daf5d63
More interfaces for grpc_socket_mutator
2016-10-13 17:26:26 -07:00
Julien Boeuf
8ca294e417
Refactoring the core security code.
...
As opposed to a flat directory, we now have the following structure:
- security
-context
- credentials
- composite
- fake
- google_default
- iam
- jwt
- oauth2
- plugin
- ssl
- transport
- util
We have not refactored the test code yet but this PR is already large
enough...
2016-05-04 15:51:28 -07:00
Craig Tiller
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -07:00
Craig Tiller
9533d042d4
Fix includes
2016-03-25 17:11:06 -07:00
Craig Tiller
2e1903638e
Fix copyrights
2016-03-25 14:33:26 -07:00
Craig Tiller
f40df23eeb
Auto-changes
2016-03-25 13:38:14 -07:00
David Garcia Quintas
e2f243ba7c
clang format
2016-02-23 09:38:41 -08:00
David Garcia Quintas
45add8a445
Merge branch 'master' of github.com:grpc/grpc into alarm_cpp
2016-02-22 23:15:28 -08:00
David Garcia Quintas
0160873273
PR comments addressed
2016-02-22 17:49:45 -08:00
Vijay Pai
e32ef7acde
Make timeout instant as well
2016-02-22 17:25:51 -08:00
Vijay Pai
64e7875510
Should have a test for 0 and negative alarms to make sure that those make
...
it on to the CQ like any other.
2016-02-18 13:38:32 -08:00
David Garcia Quintas
1689990ff3
clang format
2016-02-17 18:32:17 -08:00
David Garcia Quintas
4105505b33
Fixed refactoring of grpc_arg pointer vtable
2016-02-17 18:23:15 -08:00