Craig Tiller
a1ad74f7af
Revert "File watcher authorization policy provider implementation ( #26779 )" ( #27591 )
...
This reverts commit 310accd077
.
3 years ago
Ashitha Santhosh
310accd077
File watcher authorization policy provider implementation ( #26779 )
...
* File watcher authorization policy provider implementation
3 years ago
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
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
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 480fcc600a
.
* Revert "Revert "cleanup""
This reverts commit 29fbc349d2
.
4 years ago
Ashitha Santhosh
b9a643a817
Static policy provider implementation. ( #26134 )
4 years ago
Esun Kim
f171a6689e
Fix StatusCode
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Esun Kim
e0d8c498a6
C++ cast for others
4 years ago
Esun Kim
2ff84ed8c2
C++ cast for void*
4 years ago
ZhenLian
d74e43da95
Add File Watcher Certificate Provider API
4 years ago
ZhenLian
518ed1303c
Add Credential Loading From Static Providers For TLS Credentials
4 years ago
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Esun Kim
c736cf073c
Added call to grpc::testing::TestEnvironment in more tests
5 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
5 years ago
Esun Kim
415d41f9e8
Rerun clang-formatter-7
5 years ago
Esun Kim
9ae81e1d3f
Make test code use TestEnvironment
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Vijay Pai
53e19e8de2
Remove unused parameter warning (20 of 20)
5 years ago
Juanli Shen
732e2a1e90
Tune load reporter test
5 years ago
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.
6 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
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
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
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
Juanli Shen
a9bfe94d10
Relax qps/eps error in load reporter test
6 years ago
Juanli Shen
be40b0d3a8
Add server load reporting service
7 years ago
Juanli Shen
291bbc7014
Add load reporter
7 years ago
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
7 years ago
Alexander Polcyn
ac8b72f75b
Add a test that tcp server posix consumes socket mutators
7 years ago
Juanli Shen
a0aab7ebcc
Add load data store
7 years ago
Ara Ayvazyan
88846bc637
fixup! Fix formatting
7 years ago
Ara Ayvazyan
bd5dae28dc
Fix crashing server_builder_test
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
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
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
Vijay Pai
81522c8ebe
Add unsecure libraries to bazel build targets
7 years ago
Vijay Pai
c50cf03f32
Move gtest last
7 years ago
Mark D. Roth
0696611fb5
Do not return calls on server when request proto fails to deserialize.
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Muxi Yan
c8a6822b0e
Revert "Add cpp test"
...
This reverts commit e22bd48cd9
.
8 years ago
Muxi Yan
e22bd48cd9
Add cpp test
8 years ago
Craig Tiller
12352b2c5c
Add test of server builder, including channel args
8 years ago