Craig Tiller
e0981dfa05
Merge github.com:grpc/grpc into i-want-to-wait-free
2015-07-16 08:45:15 -07:00
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
2015-07-15 16:49:49 -07:00
David Garcia Quintas
6dd49a5c8f
Added some methods to context inspector. Also minor tweak to server context IsCancelled() method
2015-07-15 14:58:32 -07:00
David Garcia Quintas
e410986635
clang-format'd.
2015-07-15 14:10:48 -07:00
David Garcia Quintas
e0d581b6ad
Merge branch 'master' of github.com:grpc/grpc into decompression
...
# Conflicts:
# Makefile
# include/grpc++/client_context.h
# include/grpc++/server_context.h
# src/cpp/client/client_context.cc
# src/cpp/server/server_context.cc
# vsprojects/Grpc.mak
2015-07-15 14:07:18 -07:00
Craig Tiller
e845d980e5
Merge pull request #2406 from dgquintas/writeoptions
...
Added WriteOptions for per-message flags and modified CallOps to use it.
2015-07-15 13:40:31 -07:00
yang-g
8c31ee2751
update according to spec change
2015-07-15 13:36:27 -07:00
yang-g
14b3684dee
Remove const_iterator typedef and add a range based loop test
2015-07-15 13:20:23 -07:00
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
2015-07-15 12:33:37 -07:00
Craig Tiller
ca83dc8109
Adjust oustanding request count to meet new server algorithm
2015-07-15 11:43:26 -07:00
yang-g
811536efce
auth context iterator
2015-07-15 00:55:30 -07:00
Vijay Pai
181ef45f5e
Addressing outstanding typos and comments
...
Clang-format of changed files
2015-07-14 13:52:48 -07:00
vjpai
df551611d4
Remove reference to nullptr to avoid compiler seeing ambiguity in gcc-4.4
...
build. The issue is that gcc below 4.6 require us to explicitly define nullptr,
and our explicit definition allows a potential confusion between
nullptr->unique_ptr<string> and
nullptr->char *->grpc::string->unique_ptr<string>
2015-07-14 13:38:44 -07:00
yang-g
5bf510bba1
add per_rpc_creds test case in interop test
2015-07-14 10:54:29 -07:00
David Garcia Quintas
8d9f830168
Introduced InteropContextInspector to be able to peek into server contexts during interop testing.
2015-07-13 16:18:19 -07:00
David Garcia Quintas
6a3cf974f7
Added WriteOptions for per-message flags and modified CallOps to use it.
2015-07-13 13:38:18 -07:00
yang-g
be5f059219
Add oauth2_auth_token test case in interop test
2015-07-13 11:11:50 -07:00
Craig Tiller
677c50c92a
Update C++ impl
2015-07-13 10:49:06 -07:00
Craig Tiller
354398f9f5
Updating wrapped languages to new time functions
2015-07-13 09:16:03 -07:00
Vijay Pai
d1c9254029
Merge pull request #2289 from ctiller/footprints-on-the-sands-of-time
...
Introduce multiple clocks to GPR
2015-07-10 16:43:58 -07:00
yang-g
69563b9124
Add timeout interop test case
2015-07-10 15:32:11 -07:00
Craig Tiller
2c3a35e5cf
Make naming a little more consistent
2015-07-10 14:06:00 -07:00
Craig Tiller
080d6c50bb
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-10 10:23:10 -07:00
Craig Tiller
d0955f36dc
Compile fix for Mac
2015-07-10 07:52:37 -07:00
David Garcia Quintas
14ce90ff82
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-09 16:18:14 -07:00
yang-g
3315a845ef
Merge remote-tracking branch 'upstream/master' into security_context2
2015-07-09 12:32:48 -07:00
yang-g
f9e8e59b1c
Resolve comments
2015-07-09 12:32:15 -07:00
Craig Tiller
5cc175f08e
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-09 08:48:35 -07:00
David Garcia Quintas
17bb64981a
Merge branch 'master' of github.com:grpc/grpc into decompression
2015-07-08 15:17:10 -07:00
yang-g
85c04f938f
resolve comments
2015-07-07 17:47:31 -07:00
Craig Tiller
822d2c7beb
Support registering services against specific hosts
2015-07-07 16:08:00 -07:00
Craig Tiller
547fed4e8b
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
...
Conflicts:
src/core/channel/client_setup.c
src/core/surface/init.c
2015-07-07 13:52:53 -07:00
yang-g
c4eef2eae8
add a test case in end2end_test
2015-07-06 23:26:58 -07:00
yang-g
8068f86974
Add a unit test
2015-07-06 15:05:48 -07:00
Yang Gao
d426864934
Merge pull request #2279 from vjpai/openleaks
...
qps_test memory leak elimination: delete spare contexts lying around at the end of test
2015-07-06 13:34:25 -07:00
Craig Tiller
a368bd26d1
Merge github.com:grpc/grpc into footprints-on-the-sands-of-time
2015-07-06 11:04:14 -07:00
Craig Tiller
20b5fe9282
Fixup C++
2015-07-06 10:43:50 -07:00
Vijay Pai
775eaec770
Merge pull request #2151 from sidrakesh93/master
...
Changes required for reporting metrics to performance database server
2015-07-06 10:13:59 -07:00
Craig Tiller
27df2cf69c
Pluck some low hanging concurrency fruit
...
Make the shutdown flag on servers be per thread to save contention on
the lock that must guard it.
2015-07-01 15:11:29 -07:00
David Garcia Quintas
8a187099ec
Merge branch 'master' of github.com:grpc/grpc into decompression
...
# Conflicts:
# Makefile
# gRPC.podspec
# src/core/surface/call.c
# src/core/transport/chttp2/frame_data.c
# tools/doxygen/Doxyfile.core.internal
# vsprojects/Grpc.mak
2015-07-01 14:52:44 -07:00
Vijay Pai
13735d5d7e
if->while
2015-07-01 14:00:08 -07:00
Vijay Pai
5606199585
Delete spare contexts lying around at the end of the test to avoid
...
showing up as memory leaks
Also reduce the rate of the openloop test - this may be an issue with
sanitizers particularly because of issue #2278
2015-07-01 13:39:48 -07:00
Vijay Pai
e2980cd0b3
Eliminate data-race caused by specialization in vector<bool>
2015-07-01 09:38:20 -07:00
David Garcia Quintas
d7d9ce27c5
WIP in *_end2end_test.cc. Tests pass. Fixed leaks and introduced concept of compression request thru MD
2015-06-30 23:29:03 -07:00
Siddharth Rakesh
a90c81ea61
Removing this pointers
2015-06-30 20:29:35 -07:00
Siddharth Rakesh
fd1a20a667
Changes introduced for passing hashed user id instead of access token
2015-06-30 16:38:32 -07:00
Siddharth Rakesh
872e8187c2
Adding required changes
2015-06-29 13:06:25 -07:00
Siddharth Rakesh
268e59063a
Adding required changes
2015-06-29 12:20:43 -07:00
Vijay Pai
d4bfa95d3c
Merge pull request #2169 from ctiller/no-spam-for-you
...
Remove spammy line (this is obfuscating testing logs)
2015-06-29 10:26:48 -07:00
Craig Tiller
40238fd032
Merge pull request #2221 from yang-g/no_new_bbq_after_flush
...
Bug fix. Do not push to incoming_queue after it is flushed.
2015-06-26 10:47:13 -07:00
yang-g
0b6ad7d4bc
Bug fix. Do not push to incoming_queue after it is flushed.
2015-06-25 14:39:01 -07:00
Craig Tiller
f75fc12e3a
Add a test that headers are properly in build.json
...
Clean up anything that failed
2015-06-25 06:58:00 -07:00
Siddharth Rakesh
7b34d3afa7
Merge branch 'master' of https://github.com/sidrakesh93/grpc
2015-06-23 16:35:18 -07:00
Siddharth Rakesh
df77c580dc
Added support for passing a tag with the test
2015-06-23 16:34:18 -07:00
Siddharth Rakesh
500007ab68
Merge branch 'master' of https://github.com/grpc/grpc
2015-06-23 11:22:46 -07:00
Yang Gao
253aaa6b10
Merge pull request #1969 from ctiller/one-shouldnt-depend-on-protobufs
...
Remove Protobuf dependency for C++
2015-06-23 10:05:20 -07:00
Craig Tiller
aa555df7ee
Merge pull request #2175 from yang-g/constness
...
Add const to ByteBuffer methods and add tests
2015-06-23 07:54:19 -07:00
yang-g
b1bbc8764d
proper init const char *
2015-06-22 23:30:00 -07:00
Yang Gao
89c5a56233
Add const to ByteBuffer methods and add tests
2015-06-22 16:31:11 -07:00
Nicolas Noble
3e5964f8fb
Merge pull request #2164 from ctiller/all-my-little-snowflakes
...
Fix flaky test
2015-06-22 15:17:28 -07:00
Craig Tiller
0960875b06
Remove spammy line (this is obfuscating testing logs)
2015-06-22 14:32:31 -07:00
sidrakesh93
ca241639c6
Update perf_db_client.cc
2015-06-22 14:26:41 -07:00
Yang Gao
04b0383d23
Merge pull request #2160 from ctiller/no-point-for-an-object-here
...
Use a character literal instead of grpc::string
2015-06-22 13:52:32 -07:00
Craig Tiller
8cca4694ee
Fix flaky test
...
Assertation could be false if the server responds quickly enough (it's
unlikely to). Removing the assert does not change the nature of the
test.
2015-06-22 13:50:59 -07:00
Siddharth Rakesh
a4de070c69
Further corrections to syntax
2015-06-22 13:05:26 -07:00
Siddharth Rakesh
60111c0df8
updated syntax based errors
2015-06-22 13:02:33 -07:00
Craig Tiller
aeedff1ef8
Use a character literal instead of grpc::string
2015-06-22 12:31:53 -07:00
Siddharth Rakesh
4364546668
Applied required modifications
2015-06-22 12:21:57 -07:00
Siddharth Rakesh
f39e7c0a0f
Merge branch 'master' of https://github.com/grpc/grpc
2015-06-22 11:36:30 -07:00
Siddharth Rakesh
373ad4d0d0
edited report
2015-06-22 11:36:17 -07:00
Craig Tiller
3de4b47e2b
Merge github.com:grpc/grpc into one-shouldnt-depend-on-protobufs
2015-06-22 10:51:35 -07:00
Vijay Pai
40c9481e4a
Merge pull request #2136 from dgquintas/unconst-reporter
...
Removed const-ness from Reporter interface methods
2015-06-22 09:08:05 -07:00
Siddharth Rakesh
c3cd4780df
minor commented code removal
2015-06-19 17:05:19 -07:00
Siddharth Rakesh
64967d4fac
removed dependency on python_gflags, using argparse instead
2015-06-19 16:58:26 -07:00
Craig Tiller
ab67485ff0
Merge github.com:grpc/grpc into one-shouldnt-depend-on-protobufs
2015-06-19 15:32:52 -07:00
Siddharth Rakesh
31014d26aa
flags handled using python_gflags
2015-06-19 15:24:19 -07:00
Siddharth Rakesh
12c65b1a7e
slightly updated tool script
2015-06-19 11:16:12 -07:00
David Garcia Quintas
96e12defaf
Removed const-ness from Reporter interface methods
2015-06-18 23:14:47 -07:00
Siddharth Rakesh
cc5857b624
Fixed hanging client declaration, server address can be passed now
2015-06-18 16:45:55 -07:00
Siddharth Rakesh
a31c9d27e0
Merge branch 'we-dont-need-no-backup' of git://github.com/ctiller/grpc
2015-06-18 15:59:55 -07:00
sidrakesh93
e74a458813
Update report.cc
2015-06-18 11:22:06 -07:00
Siddharth Rakesh
bfa67ddbd4
changed access tokens folder position
2015-06-18 10:37:41 -07:00
Siddharth Rakesh
929191b4be
edited test script
2015-06-18 09:13:53 -07:00
Siddharth Rakesh
e2902dee31
commented
2015-06-17 15:01:43 -07:00
Siddharth Rakesh
893ccac421
Merge branch 'master' of https://github.com/grpc/grpc
2015-06-17 15:01:07 -07:00
Craig Tiller
dd39fbd413
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-17 12:36:40 -07:00
Craig Tiller
bf8ac3f406
Merge branch 'you-complete-me' into we-dont-need-no-backup
2015-06-17 09:15:48 -07:00
Yang Gao
45bd28e0d3
One more thing...
2015-06-16 22:07:58 -07:00
Craig Tiller
2622ddbcfd
Merge branch 'we-dont-need-no-backup' into one-shouldnt-depend-on-protobufs
...
Conflicts:
include/grpc++/async_unary_call.h
include/grpc++/config.h
include/grpc++/config_protobuf.h
include/grpc++/impl/service_type.h
include/grpc++/stream.h
src/cpp/common/call.cc
2015-06-16 17:30:26 -07:00
Craig Tiller
ddd389a149
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-16 17:14:43 -07:00
Yang Gao
763afe1fd6
merge with upstream
2015-06-16 13:19:07 -07:00
Yang Gao
c1a2c314fb
Update the Status API
2015-06-16 10:59:46 -07:00
Yang Gao
102eccb632
Support sending and showing received metadata in grpc_cli
2015-06-16 00:43:25 -07:00
Siddharth Rakesh
08e8bab4b8
removed data script
2015-06-15 17:04:09 -07:00
Siddharth Rakesh
d0010ae439
added comments
2015-06-15 17:02:51 -07:00
Siddharth Rakesh
7b55362e0f
updated auth script
2015-06-11 20:59:14 -07:00
Craig Tiller
aea081ffb5
Flush pending incoming messages when writing status
...
As a bonus, correctly report was_cancelled when the server writes error
2015-06-11 14:19:33 -07:00
Siddharth Rakesh
b2b5b9a069
removed data adding script
2015-06-10 15:12:34 -07:00
Siddharth Rakesh
f4dafb5654
updated configs sending
2015-06-10 15:10:35 -07:00
Siddharth Rakesh
80b23e461d
erge branch 'master' of https://github.com/grpc/grpc
2015-06-10 15:09:38 -07:00
Craig Tiller
a603a450a9
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-10 10:12:02 -07:00
Craig Tiller
51f938f169
Make async server use one CQ per server thread
2015-06-09 23:34:01 -07:00
Craig Tiller
4671122995
Merge branch 'you-complete-me' into we-dont-need-no-backup
2015-06-09 22:59:31 -07:00
Yang Gao
b6d57e704b
add missed explicit
2015-06-09 22:11:12 -07:00
David G. Quintas
cb7bcb1983
Merge pull request #1958 from vjpai/qps-proto3
...
Update QPS test to proto3
2015-06-09 13:41:42 -07:00
vjpai
e78ee18db5
Renumber message fields
2015-06-09 01:37:46 -07:00
Craig Tiller
febf3b0803
Merge pull request #1984 from grpc/revert-1980-revert-1948-poisson
...
Revert "Revert "Open loop sync/async multithreaded testing""
2015-06-08 19:47:15 -07:00
Siddharth Rakesh
0acc25ad15
removed shell script
2015-06-08 15:53:55 -07:00
Siddharth Rakesh
9865e0d8a3
Merge branch 'master' of https://github.com/grpc/grpc into leaderboard
2015-06-08 15:44:23 -07:00
Siddharth Rakesh
ef3ca1b3bf
stable
2015-06-08 14:55:24 -07:00
vjpai
2490d9dc91
Handle all cases properly
2015-06-08 14:44:03 -07:00
vjpai
37253d967b
Merge remote-tracking branch 'upstream/revert-1980-revert-1948-poisson' into qps-proto3
...
Conflicts:
test/cpp/qps/qps_test_openloop.cc
2015-06-08 14:41:24 -07:00
Vijay Pai
93b0f63043
Merge pull request #1979 from ctiller/cereal-is-bad-for-your-health
...
Dont serialize new call requests under the server test lock
2015-06-08 13:59:24 -07:00
Siddharth Rakesh
199ad685fd
Merge branch 'master' of https://github.com/grpc/grpc into leaderboard
2015-06-08 13:45:44 -07:00
Siddharth Rakesh
39824335ea
Newer version
2015-06-08 13:44:51 -07:00
Vijay Pai
d9c7e7e373
Stop worrying about 1 second deadline as a fatal problem
...
Also fix reporter
2015-06-08 13:44:25 -07:00
Vijay Pai
372fd8791b
Revert "Revert "Open loop sync/async multithreaded testing""
2015-06-08 13:30:08 -07:00
David Garcia Quintas
bb7370fc68
Missing required changes from pull req. #1964
2015-06-08 13:16:03 -07:00
Craig Tiller
cfef24bb56
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-08 10:34:15 -07:00
Craig Tiller
52d646eddd
Merge github.com:grpc/grpc into cereal-is-bad-for-your-health
2015-06-08 10:32:00 -07:00
Craig Tiller
d55636d813
Revert "Open loop sync/async multithreaded testing"
2015-06-08 10:12:46 -07:00
Craig Tiller
250e96d941
Dont serialize new call requests under the server test lock
2015-06-08 09:51:43 -07:00
Craig Tiller
571af49aaf
Merge branch 'who-broke-the-build' into we-dont-need-no-backup
2015-06-08 08:46:55 -07:00
Craig Tiller
18c6d9c227
Fix build breakage
2015-06-08 08:43:48 -07:00
Craig Tiller
1207ef5f52
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-08 08:40:32 -07:00
Craig Tiller
ba9df85f7e
Merge pull request #1948 from vjpai/poisson
...
Open loop sync/async multithreaded testing
2015-06-08 07:36:56 -07:00
vjpai
fb61373066
Add a new test for qps openloop to make sure this code gets exercised
...
regularly.
Also, convert qps_test to test, from benchmark
2015-06-08 01:01:03 -07:00
vjpai
aa4548ddf0
Add a new test for qps openloop to make sure this code gets exercised
...
regularly.
Also, convert qps_test to test, from benchmark
2015-06-08 00:54:03 -07:00
David Garcia Quintas
c695066fec
Removed redundant parameter from Reporter interface.
2015-06-05 16:56:42 -07:00
vjpai
191b67437b
Address reviewer comment by not having non-const reference
2015-06-05 14:18:42 -07:00
vjpai
804afe6aac
Update QPS test to proto3 syntax
2015-06-05 14:06:09 -07:00
Vijay Pai
36403af71e
Address review comments for code clarity
2015-06-05 11:19:03 -07:00
Vijay Pai
92b7f872fd
Add comments describing various random distributions
...
Also remove the parameterized constructor for InterarrivalTimer
and only keep the init function.
2015-06-05 11:09:16 -07:00
Craig Tiller
2c42ef3eb3
Merge github.com:grpc/grpc into we-dont-need-no-backup
2015-06-05 07:09:56 -07:00
Vijay Pai
fcedc15082
Use typedef rather than using to make Travis happy
2015-06-05 03:47:11 -07:00
Vijay Pai
cf3fb092cc
clang-format
2015-06-05 03:41:30 -07:00
Vijay Pai
c7de81e57e
Better management of channel attempts and channel coverage
2015-06-05 03:32:03 -07:00
Vijay Pai
db398e0609
Omit redundant record-keeping
2015-06-05 02:49:51 -07:00
Vijay Pai
06c995137b
Take some code out from under a lock_guard and try to
...
maintain affinity of next_channel whenever possible
2015-06-05 02:32:39 -07:00
Vijay Pai
7b172b2411
Get the code to stop crashing by fixing bugs
2015-06-05 02:03:18 -07:00
Siddharth Rakesh
922ea81877
QPS, latencies recorded with authentication
2015-06-04 17:32:31 -07:00
Craig Tiller
789471cfc6
Client side compiles/links
2015-06-04 16:19:22 -07:00
vjpai
dc0615fa87
Init a variable
2015-06-04 10:54:24 -07:00
vjpai
d1dce90c9a
Minor fixes
2015-06-04 10:48:43 -07:00
vjpai
ca61f5b765
Merge branch 'master' into poisson
2015-06-04 09:51:28 -07:00
Craig Tiller
409263c59f
Merge github.com:grpc/grpc into we-dont-need-no-backup
...
Conflicts:
tools/doxygen/Doxyfile.core.internal
2015-06-04 08:44:53 -07:00
Vijay Pai
8eedd4a2c6
Context activation for async
2015-06-03 15:39:35 -07:00
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
2015-06-03 15:24:24 -07:00
Vijay Pai
9dc5c15b56
Account for time difference in mac and linux
2015-06-03 11:34:53 -07:00
Vijay Pai
8559485c23
Bug fix
2015-06-03 11:01:25 -07:00