Adele Zhou
0ad0e5d684
Fix fuzzer tests for Bazel
2018-02-12 21:51:44 -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
a54d81ebc2
Merge branch 'master' into gpr_review
2018-02-08 15:37:12 -08:00
Mehrdad Afshari
6ec9bb8762
Merge pull request #14360 from mehrdada/shellcheck-slash-test
...
Enforce shellcheck on scripts under /test/
2018-02-08 15:15:14 -08:00
Vijay Pai
5122487fad
fix a conflict
2018-02-08 12:32:34 -08:00
Vijay Pai
18b9133f31
Merge branch 'master' into gpr_review
2018-02-08 12:18:09 -08:00
Vijay Pai
239b7d4b0b
Merge branch 'master' into gpr_review
2018-02-08 11:08:41 -08:00
Vijay Pai
573717bc8d
Merge branch 'master' into gpr_review3
2018-02-08 10:21:11 -08:00
Mehrdad Afshari
ecdd9147cf
Fix run_with_poller.sh to pass shellcheck
2018-02-07 11:46:44 -08:00
Mehrdad Afshari
a6ac5b3ddc
Fix fuzzer_one_entry_runner.sh to pass shellcheck
2018-02-07 11:46:33 -08:00
Vijay Pai
1acfaca3e6
Merge branch 'master' into gpr_review_host_port
2018-02-02 11:21:07 -08:00
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
2018-02-02 09:16:44 -08:00
Vijay Pai
4c0640ebd6
Merge branch 'master' into gpr_review3
2018-02-02 09:12:11 -08:00
Vijay Pai
0dbb00eef0
Remove extern "C"
2018-02-02 08:39:47 -08:00
Jan Tattermusch
382374eb6f
add comment
2018-01-31 21:25:30 +01:00
Jan Tattermusch
12ba4b1e05
make grpc_passthru_endpoint_stats refcounted
2018-01-30 19:24:56 +01:00
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
2018-01-25 23:06:24 -08:00
Vijay Pai
8a99fdb57e
Move cmdline and subprocess from public gpr to test/core/util
2018-01-25 20:11:38 -08:00
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
2018-01-18 11:21:12 -08:00
Jan Tattermusch
148700a8ea
windows needs fflush after fprintf
2018-01-12 09:59:12 +01: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
yashkt
d9f6407190
Merge master into execctx after removal of assert in tls_gcc
2017-12-04 09:41:12 -08:00
Craig Tiller
f66cfed913
Merge pull request #13051 from ctiller/bazel-pollers
...
Test multiple pollers with Bazel
2017-12-01 16:18:07 -08:00
adelez
f0b952824b
Merge pull request #13442 from adelez/foundry_integration
...
Create a pilot job to run bazel tests remotely
2017-12-01 09:42:04 -08:00
Vijay Pai
764ef8c797
Merge pull request #13575 from vjpai/dehist
...
Move histogram to test/core/util
2017-11-30 18:02:44 -08:00
Yash Tibrewal
36522e9f80
Merge master after no Extern C changes
2017-11-30 17:47:36 -08:00
Adele Zhou
5b7cdefb68
Rename port_hermetic to port_isolated_runtime_environment
2017-11-30 17:45:02 -08:00
Adele Zhou
e5df91f477
Use select to decide the test is hermetic or not
2017-11-30 17:10:28 -08:00
Adele Zhou
c8bf2da1e0
Enabling hermetic testing for running tests on Foundry.
2017-11-30 17:10:28 -08:00
Vijay Pai
195cf1ebfd
Move histogram to test/core/util
2017-11-30 15:02:04 -08:00
Craig Tiller
360712fe99
Start to get Bazel running different pollers
2017-11-30 14:38:19 -08:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -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
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
2017-11-28 13:23:36 -08:00
ncteisen
fe354eb807
Fix the fuzzers
2017-11-28 12:05:14 -08:00
ncteisen
e7af52580d
Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c
2017-11-27 15:05:14 -08:00
Yash Tibrewal
9da7ac217a
Merge branch 'master' into execctx
2017-11-27 13:42:21 -08:00
adelez
b3a35623e3
Merge pull request #13419 from nlopezgi/master
...
change use of directory as input to data field for to use of native.glob in grpc_fuzzer.bzl
2017-11-27 11:02:50 -08:00
Yash Tibrewal
eaf67dbdf6
Fixing errors and minor bugs
2017-11-22 16:59:56 -08:00
Yash Tibrewal
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
2017-11-21 19:38:09 -08:00
Yash Tibrewal
7486144de0
Merge master
2017-11-21 16:52:06 -08:00
ncteisen
6dc1097c5e
Fix test cert build
2017-11-20 12:41:13 -05:00
ncteisen
993e9f0692
Merge branch 'master' of https://github.com/grpc/grpc into no-more-extern-c
2017-11-20 10:56:04 -05:00
ncteisen
aa3b19741f
Rename tracer_peer to tracer_util
2017-11-17 15:56:48 -08:00
ncteisen
66dfcf5919
clang fmt
2017-11-17 14:09:14 -08:00
ncteisen
0e6b5b3ba3
Un extern the fuzzers
2017-11-17 14:08:57 -08:00
ncteisen
adbfbd5977
Remove all extern C
2017-11-17 14:08:57 -08:00
ncteisen
c4dd9cfe18
reviewer feedback
2017-11-17 13:39:01 -08:00
Yash Tibrewal
177039b2f8
Merge master
2017-11-16 19:31:28 -08:00
Nicolas Lopez
d87f2ba4e4
change directory input to use of native.glob
...
use of directory as input to data is not supported with experimental
remote execution build service.
2017-11-16 12:58:34 -05:00
ncteisen
b2aa06ae99
Reviewer feedback: friend func not clasS
2017-11-16 09:02:58 -08:00
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
2017-11-14 18:11:22 -08:00
ncteisen
90ffc3a6f7
Add tracer peer to keep set_enabled private()
2017-11-14 16:29:35 -08:00
Juanli Shen
3a1989b1b9
Fix an internal build failure
2017-11-14 12:05:16 -08:00
Yash Tibrewal
75122c2357
Address some PR comments
2017-11-14 01:36:28 -08:00
Craig Tiller
be98d24841
clang-format after nullptr changes
2017-11-10 15:26:57 -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
4e9265c828
Merge with master
2017-11-09 17:46:29 -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
b930632795
objC needs C linkage
2017-11-01 11:46:08 -07:00
Yash Tibrewal
11a518995e
LLVMfuzzer extern C
2017-10-31 15:15:41 -07:00
Yash Tibrewal
888691344e
Merge branch 'master' into testc++ize
2017-10-31 11:24:36 -07:00
Yash Tibrewal
77532036b6
BUILD changes. test languauge to C++
2017-10-31 11:11:18 -07:00
Yash Tibrewal
e586324627
BUILD files changes for bazel
2017-10-30 17:52:07 -07:00
Yash Tibrewal
f8a6c8297c
Changes to build other platforms
2017-10-30 16:19:43 -07:00
Vijay Pai
f92b530068
Fix a data race in microbenchmark stats gathering
2017-10-30 15:10:56 -07:00
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
2017-10-25 17:04:35 -07:00
Yash Tibrewal
3318979a5f
Merge branch 'master' into testc++ize
2017-10-25 16:26:03 -07:00
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
2017-10-25 16:23:01 -07:00
Yuchen Zeng
c01c7cbd85
Merge pull request #12219 from y-zeng/http2_connector
...
Add the endpoint used by the handshake process to connector's pollset_set
2017-10-24 11:54:29 -07:00
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.
2017-10-18 17:12:19 -07:00
Craig Tiller
4048569477
Fix compilation
2017-10-11 08:29:42 -07:00
Craig Tiller
03b3247cec
Fix build
2017-10-09 08:25:49 -07:00
Craig Tiller
922260656a
C++ize BDP estimator, introduce ManualConstructor
2017-10-08 21:16:12 -07:00
Craig Tiller
c5f7b882b4
Merge github.com:grpc/grpc into flowctl+millis
2017-10-06 10:27:33 -07:00
Yuchen Zeng
ab74a8c86e
Add grpc_endpoint_delete_from_pollset_set
2017-10-05 12:06:43 -07:00
Craig Tiller
b44a7bf8c3
Revert deleted file
2017-10-03 14:35:38 -07:00
Craig Tiller
d75d90f055
Make this work
2017-10-03 09:58:21 -07:00
Craig Tiller
2c357bc62e
Moving to allow fuzzer test to run entire corpora under bazel
2017-09-29 11:10:14 -07:00
Craig Tiller
6a34067d16
Merge github.com:grpc/grpc into grpc_millis
2017-09-19 12:44:15 -07:00
Craig Tiller
bbe282f600
Merge github.com:grpc/grpc into grpc_millis
2017-09-11 12:11:40 -07:00
Craig Tiller
4aac9a664a
Merge github.com:grpc/grpc into pollset_kick_stats
2017-09-11 12:09:03 -07:00
Yash Tibrewal
7cdd99c86e
Adding more pointer type conversions
2017-09-08 16:50:07 -07:00
Craig Tiller
ee090ec975
Merge github.com:grpc/grpc into wc
2017-09-01 10:30:11 -07:00
Craig Tiller
0ff222a23b
Add pollset_kick stats
2017-09-01 09:41:43 -07:00
yang-g
b98bf8c165
Make package names consistent under test/core
2017-08-31 09:12:51 -07:00
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
2017-08-30 19:18:37 +02:00
Craig Tiller
d9b82bdecb
Merge github.com:grpc/grpc into grpc_millis
2017-08-29 12:16:56 -07:00
Vijay Pai
e252e5fd9d
Merge pull request #12025 from vjpai/bazel_unsec
...
Test grpc++_unsecure in Bazel build
2017-08-03 12:10:57 -07:00
Vijay Pai
81522c8ebe
Add unsecure libraries to bazel build targets
2017-08-02 19:44:32 -07:00
Yuchen Zeng
36969385e5
Group the port picking functions
2017-08-02 16:40:24 -07:00
Yuchen Zeng
32c0153f81
Make port picking functions overridable
2017-08-02 16:09:08 -07:00
Craig Tiller
9a8c3f398a
Explicitly call out round up vs round down
2017-07-21 13:14:14 -07:00
Craig Tiller
c0df1c0f9a
Compiling again
2017-07-17 16:12:33 -07:00
Craig Tiller
565d4c1e88
Progress
2017-07-17 14:23:46 -07:00
Craig Tiller
fa5c6215be
Merge github.com:grpc/grpc into grpc_millis
2017-07-17 14:10:44 -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
ncteisen
274bbbe6a0
Add rich closure debug mode
2017-06-08 15:29:29 -07:00
ncteisen
1621f5e051
Merge branch 'master' of https://github.com/grpc/grpc into ALL-the-things
2017-06-08 14:26:50 -07:00
Yuchen Zeng
8f3d02106b
Merge pull request #11237 from y-zeng/srv_record
...
Support grpclb address in the c-ares resolver
2017-06-08 13:17:02 -07:00
Craig Tiller
b3899fd18b
Merge github.com:grpc/grpc into ALL-the-things
2017-06-08 07:54:10 -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
Yuchen Zeng
3a1104ffa3
Fix the flush of exec_ctx in port_server_client
2017-05-18 19:07:10 -07:00
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
2017-05-19 01:53:56 +02:00
Yuchen Zeng
b1f0af8951
Flush exec_ctx before using pollset_work
2017-05-17 21:52:27 -07:00
Craig Tiller
321b7d8fb0
Merge github.com:grpc/grpc into thread_pool
2017-05-16 13:42:07 -07:00
Craig Tiller
82713635e1
Merge pull request #11135 from ctiller/bugz
...
Fix some job runner bugs, save some initialization passes for port selection
2017-05-16 13:38:09 -07:00
Craig Tiller
9d5d803bbf
Small fixes
2017-05-15 07:54:54 -07:00
Craig Tiller
ee4b145213
Remove workqueue, covered_by_poller as concepts, get Mac build up
2017-05-12 10:56:03 -07:00
Craig Tiller
dc3998e710
Converting code
2017-05-12 09:55:30 -07:00
Nicolas "Pixel" Noble
eb36b8ac77
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-05-11 23:24:37 +02:00
Craig Tiller
d868a07d7c
Merge github.com:grpc/grpc into uberpoll
2017-05-07 20:02:30 -07:00
Craig Tiller
c610985aeb
Merge branch 'hiertune' into epex4+epoll1
2017-05-01 14:26:49 -07:00
Craig Tiller
f7283e01dd
Merge github.com:grpc/grpc into trickle_stall
2017-04-27 14:56:56 -07:00
Craig Tiller
4865c79548
Merge pull request #10613 from ctiller/framing_costs
...
Optimize framing a little
2017-04-27 14:53:12 -07:00
Craig Tiller
ff54f5b150
Merge github.com:grpc/grpc into trickle_stall
2017-04-26 10:38:15 -07:00
Craig Tiller
e38948a1cd
clang-format
2017-04-26 08:53:25 -07:00
Craig Tiller
f54b89c4f8
Merge github.com:grpc/grpc into epex4
2017-04-25 10:31:08 -07:00
Craig Tiller
b56dae554c
Allow a longer fetch time for port server
2017-04-25 08:22:24 -07:00
Craig Tiller
25149249ec
Slow down timers for ubsan builds
2017-04-24 13:42:52 -07:00
Craig Tiller
85bf34a4a8
Copy slices for in-process transports: its no longer safe to just ref
2017-04-21 16:14:59 -07:00
Craig Tiller
a0cf12d976
Improve simulation to not infinitely buffer writes
2017-04-19 13:15:51 -07:00
Craig Tiller
40fde140f4
Add logging of flow control variables
2017-04-18 15:26:57 -07:00
Nicolas "Pixel" Noble
15cd5ce2ed
Rewriting core tests BUILD files to use the build system.
2017-04-18 19:53:10 +02:00
Craig Tiller
79d24fb8eb
Fixes
2017-04-17 19:35:19 +00:00
Craig Tiller
f840110de2
Fixup tests
2017-04-17 09:47:28 -07:00
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
2017-04-13 02:03:22 +02:00
Craig Tiller
9eb0fdec00
Reorganize ext tree
...
- filters live under filters
- lb_policy, resolver implementations (being part of client_channel) live under client_channel
2017-03-31 16:59:30 -07: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
Nicolas "Pixel" Noble
ddab452096
Merge branch 'master' of https://github.com/grpc/grpc into cpp_bazelness
2017-03-22 18:30:44 +01:00
ncteisen
6fd36b575b
Merge branch 'master' of https://github.com/grpc/grpc into error-slice-optimization
2017-03-14 08:44:32 -07:00
ncteisen
4b36a3d9ea
Change error_create API to slice
2017-03-13 20:19:47 -07:00
Michael Lumish
67631eb217
Merge pull request #10105 from murgatroid99/upmerge_v1.2.x
...
Upmerge v1.2.x
2017-03-13 11:51:17 -07:00
Craig Tiller
75a41b4532
Hide memory counters from atomic counters
2017-03-10 20:44:25 -08:00
Craig Tiller
af11581260
Merge github.com:grpc/grpc into cpp_bazelness
2017-03-09 15:09:34 -08:00
murgatroid99
d0cda5c40b
Add uv resolver fallback for named ports, fix portability tests
2017-03-09 10:04:58 -08:00
Craig Tiller
b094b2c31e
Actually print error message
2017-03-07 15:55:53 -08:00
Craig Tiller
4d92a49fc0
Merge github.com:grpc/grpc into cpp_bazelness
2017-02-28 08:43:06 -08:00
Craig Tiller
c2515d0c64
Merge github.com:grpc/grpc into always-use-port-server
2017-02-28 08:35:32 -08:00
Craig Tiller
cd232f64c6
Merge pull request #9753 from ctiller/zalloc
...
Add zalloc, convert a bunch of files to use it
2017-02-27 15:58:23 -08:00
murgatroid99
98cdf3b3e6
Merge remote-tracking branch 'upstream/v1.1.x' into merge_1.1.x_master
2017-02-23 14:59:45 -08:00
Yuchen Zeng
47de64c700
zalloc grpc_pollset
2017-02-22 19:04:38 -08:00
Craig Tiller
f4ea01b71a
Complete microbenchmarks
2017-02-17 15:21:11 -08:00
murgatroid99
0c73a1ad8e
Clang format
2017-02-17 14:50:26 -08:00
murgatroid99
1191b7202d
Improve Node and libuv testing and test coverage
...
Allow Node tests to run with or without UV, change default version to 7, add some portability tests. Also make some more core tests work with libuv
2017-02-17 12:10:26 -08:00
Craig Tiller
cba864bfbe
Eliminate port server env var, force its use always, consolidate code
2017-02-17 10:27:56 -08:00