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
2021-10-06 07:43:59 -07:00
Craig Tiller
a1ad74f7af
Revert "File watcher authorization policy provider implementation ( #26779 )" ( #27591 )
...
This reverts commit 310accd077 .
2021-10-05 09:12:08 -07:00
Ashitha Santhosh
310accd077
File watcher authorization policy provider implementation ( #26779 )
...
* File watcher authorization policy provider implementation
2021-10-04 14:22:45 -07:00
Austin Schuh
d30404868f
ARM and -Wextra fixups ( #19141 )
...
* Make generated code compile with -Wunused-parameters
-Wunused-parameters is turned on by -Werror -Wextra. gRPC code
generation creates header files with unused parameters. So let's modify
the generator to not generate code which will make -Wunused-parameters
unhappy.
* Fix unsigned vs signed comparisons and 32 bit string formats
Fix unsigned vs signed comparison warnings.
For 64 bit numbers printed in gRPC, the string formats assume that you
are running on a 64 bit machine. Use inttypes.h to make it portable.
Also, use size_t format strings for the same reason.
* Fix unaligned memory access
cost_entry_ptr has no alignment guarentees that ubsan can find. So it
fails the test with an alignment problem. Use memcopy to read the data
from the pointer to fix this.
* Fix undefined behavior with memcpy and memcmp
Passing in a 0 length piece of data and a null pointer is undefined
behavior. If the length is 0, don't pass it in. This fixes ubsan
failures.
* Clang-format
* Automated change: Fix sanity tests
2021-09-27 04:54:05 -07:00
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Craig Tiller
03bdfa4a74
Make socket mutators work for server connections ( #26328 )
...
* Make socket mutators work for server connections
* compile fix
* compile fix
* compile fix
* compile fix
* cleanup
* Revert "cleanup"
This reverts commit 480fcc600a48a2ab0a5f36eb0e701ecc3f3764ce.
* Revert "Revert "cleanup""
This reverts commit 29fbc349d2a43b971d134f829647b99c1d9216d2.
2021-06-23 14:40:35 -07:00
Ashitha Santhosh
b9a643a817
Static policy provider implementation. ( #26134 )
2021-06-03 23:18:08 -07:00
Esun Kim
f171a6689e
Fix StatusCode
2020-12-04 13:10:46 -08:00
Esun Kim
53ab235fb8
Fix google-explicit-constructor
2020-12-03 15:03:39 -08:00
Esun Kim
e0d8c498a6
C++ cast for others
2020-11-30 17:36:21 -08:00
Esun Kim
2ff84ed8c2
C++ cast for void*
2020-11-30 17:29:15 -08:00
ZhenLian
d74e43da95
Add File Watcher Certificate Provider API
2020-11-19 13:36:13 -08:00
ZhenLian
518ed1303c
Add Credential Loading From Static Providers For TLS Credentials
2020-10-22 13:55:31 -07:00
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
2020-10-19 18:12:11 -07:00
Esun Kim
6ae8463500
Fix by modernize-make-unique
2020-10-16 13:30:56 -07:00
Esun Kim
c736cf073c
Added call to grpc::testing::TestEnvironment in more tests
2020-07-01 13:27:08 -07:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
Esun Kim
415d41f9e8
Rerun clang-formatter-7
2020-03-03 10:46:55 -08:00
Esun Kim
9ae81e1d3f
Make test code use TestEnvironment
2020-01-09 14:14:16 -08:00
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
2019-11-05 14:03:52 -08:00
Vijay Pai
53e19e8de2
Remove unused parameter warning (20 of 20)
2019-10-17 08:52:15 -07:00
Juanli Shen
732e2a1e90
Tune load reporter test
2019-08-27 15:56:59 -07:00
rmstar
ce282e7d7e
Merge pull request #19395 from rmstar/c++_on_ios
...
Fix C++ tests to run on iOS
2019-06-28 11:03:22 -07:00
Prashant Jaikumar
43628b286f
Update googletest version to v1.8.1
...
Bazel builds of test/cpp/end2end:end2end_test were failing on Mac OS with v1.8.0 due to missing gtest symbols. The issue is not seen in v1.8.1. A WORKSPACE file was added to gtest repo in 1.8.1, so gtest.BUILD can be removed.
2019-06-20 18:17:13 -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
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
2019-04-23 13:54:26 -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
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
Juanli Shen
a9bfe94d10
Relax qps/eps error in load reporter test
2018-07-22 16:36:13 -07:00
Juanli Shen
be40b0d3a8
Add server load reporting service
2018-07-13 19:52:59 -07:00
Juanli Shen
291bbc7014
Add load reporter
2018-06-21 13:21:02 -07:00
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
2018-06-14 14:58:09 -04:00
apolcyn
57ed055f2f
Merge pull request #15283 from apolcyn/server_consume_socket_mutator
...
Consume socket mutators on posix servers
2018-05-08 21:04:36 -07:00
Alexander Polcyn
ac8b72f75b
Add a test that tcp server posix consumes socket mutators
2018-05-08 11:49:55 -07:00
Juanli Shen
a0aab7ebcc
Add load data store
2018-05-01 10:46:44 -07:00
Ara Ayvazyan
88846bc637
fixup! Fix formatting
2018-04-03 09:16:17 -07:00
Ara Ayvazyan
bd5dae28dc
Fix crashing server_builder_test
2018-03-30 10:59:59 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -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
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
Vijay Pai
c50cf03f32
Move gtest last
2017-07-21 11:14:40 -07:00
Mark D. Roth
0696611fb5
Do not return calls on server when request proto fails to deserialize.
2017-07-14 07:18:39 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00