Jan Tattermusch
380a362417
dont build time_jump_test on windows
2020-02-26 19:56:49 -05:00
Esun Kim
257411aa2d
Fix test flakiness
2020-01-28 19:53:29 -08:00
Vijay Pai
3b7286f1a1
Alarm callback should run on executor
2020-01-21 23:52:47 -08:00
Zhen Lian
618771dc6a
[Exposing ALTS Context 2/2] Utility Wrapper Class
...
This PR contains:
1. An ALTS context exposed for users to use, and a GetAltsContextFromAuthContext() function to get ALTS context from an AuthContext. Functionality-wise this part is similar with a previous PR https://github.com/grpc/grpc/pull/21536 , but in this PR, we adjusted the code structure and made some minor changes to better suit function clientAuthzCheck()
2. A clientAuthzCheck() function for users to check if the server is authorized
2020-01-03 09:30:46 -08:00
Guantao Liu
b341ddf72b
Revert "[Exposing ALTS Context 2/2] Utility Wrapper Class"
2019-12-16 15:29:27 -08:00
Zhen Lian
98391c8f76
[Exposing ALTS Context 2/2] Utility Wrapper Class
2019-12-13 13:31:38 -08:00
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