Commit Graph

483 Commits

Author SHA1 Message Date
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
vjpai 7abc4e720c Invoke LoadTest setup 2015-06-03 10:33:41 -07:00
vjpai afc3ee89ee Merge branch 'master' into poisson 2015-06-03 10:13:48 -07:00
Craig Tiller 8cc6f42287 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-06-02 16:28:36 -07:00
vjpai 3beb20c3e2 Support use of high_res clock in timepoints 2015-06-02 13:58:44 -07:00
David Garcia Quintas c9516d4e28 Fixed memory leak in server_async 2015-06-02 13:41:48 -07:00
vjpai 924d459c27 Fix timer issues 2015-06-02 10:26:52 -07:00
Craig Tiller 14556ecf8c Merge branch 'count-the-things' into we-dont-need-no-backup
Conflicts:
	Makefile
	src/core/iomgr/pollset_posix.c
	src/core/surface/call.c
	src/core/surface/channel.c
	src/core/surface/server.c
	src/python/src/grpc/_adapter/_low_test.py
	tools/doxygen/Doxyfile.core.internal
2015-06-01 20:31:27 -07:00
Yang Gao 69fe0759be Various minor fixes 2015-06-01 14:32:38 -07:00
Craig Tiller f54f2d0586 Make test more robust 2015-05-29 12:31:05 -07:00
Craig Tiller 0f29c4d375 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-05-28 10:56:53 -07:00
vjpai 675140ca1d Merge branch 'master' into poisson
Conflicts:
	Makefile
	test/cpp/qps/client_async.cc
	test/cpp/qps/qpstest.proto
2015-05-28 10:09:32 -07:00
Craig Tiller 5d8310e104 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-05-27 16:28:34 -07:00
David Garcia Quintas 7947f9caa7 Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring 2015-05-27 13:29:44 -07:00
Yang Gao a9b5de8131 Add a check against potential failure to bring up client binary 2015-05-26 23:35:21 -07:00
Craig Tiller a22bd9c17e Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-05-26 16:40:35 -07:00
David Garcia Quintas c5902879d8 Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring 2015-05-26 15:31:01 -07:00
Xudong Ma a5861f3414 Correct the test request/response size, to be consistent with the test spec:https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md 2015-05-26 15:24:11 -07:00
Craig Tiller 8b5276c02e Merge github.com:grpc/grpc into we-dont-need-no-backup
Conflicts:
	src/core/surface/call.c
	test/core/end2end/dualstack_socket_test.c
	test/core/end2end/tests/early_server_shutdown_finishes_inflight_calls.c
	test/core/end2end/tests/early_server_shutdown_finishes_tags.c
	test/core/end2end/tests/graceful_server_shutdown.c
	test/core/end2end/tests/invoke_large_request.c
	test/core/end2end/tests/max_concurrent_streams.c
	test/core/end2end/tests/max_message_length.c
	test/core/end2end/tests/request_response_with_binary_metadata_and_payload.c
	test/core/end2end/tests/request_response_with_metadata_and_payload.c
	test/core/end2end/tests/request_response_with_payload.c
	test/core/end2end/tests/request_response_with_payload_and_call_creds.c
	test/core/end2end/tests/request_response_with_trailing_metadata_and_payload.c
	test/core/end2end/tests/request_with_large_metadata.c
	test/core/end2end/tests/request_with_payload.c
	test/core/httpcli/httpcli_test.c
	tools/run_tests/run_tests.py
2015-05-24 15:58:14 -07:00
Nicolas Noble 5fa2eab4f4 Merge pull request #1706 from ctiller/streaming-crash-boom-bang
Fix shutdown crash in async streaming test
2015-05-22 13:50:20 -07:00
David Garcia Quintas f01ccb7ba3 Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring 2015-05-22 10:39:02 -07:00
David Garcia Quintas 1d780fd3df Fixed typo 2015-05-22 10:37:27 -07:00
Vijay Pai a4c44c2bcf Merge pull request #1703 from ctiller/fugly
clang-format qps code - it was getting out of hand
2015-05-22 08:19:28 -07:00
Yang Gao fdc9af8dca Merge pull request #1625 from ctiller/mmm-mmm-mmm-mmm
Add a test of crashing servers and clients
2015-05-21 23:40:51 -07:00
Vijay Pai bfc01822b1 Merge pull request #1693 from dgquintas/fix_sleep_for
Replaced std::this_thread::sleep_for for gpr_sleep_until.
2015-05-21 23:10:29 -07:00
David Garcia Quintas f526bd487a Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring 2015-05-21 16:49:38 -07:00
Craig Tiller da0b312c7f Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm 2015-05-21 16:48:18 -07:00
Craig Tiller d4db33dcab Add missing copyright notices 2015-05-21 15:27:23 -07:00
Craig Tiller 3d49461845 Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm 2015-05-21 14:24:13 -07:00
Craig Tiller 8ebcec484f clang-format 2015-05-21 13:55:22 -07:00
Craig Tiller aeea2f2203 Fix shutdown crash in async streaming test 2015-05-21 13:54:42 -07:00
Craig Tiller 5c8737d171 clang-format qps code - it was getting out of hand 2015-05-21 11:42:17 -07:00
Vijay Pai 76e0fb1dc0 Merge pull request #1669 from dgquintas/benchmark_hosts_info
Added the client and server configurations to the bench results proto.
2015-05-21 11:36:41 -07:00
vjpai efad2ae674 Merge branch 'master' into poisson 2015-05-21 10:20:14 -07:00
David Garcia Quintas feb67f67dc Replaced std::this_thread::sleep_for for gpr_sleep_until.
std::this_thread::sleep_for isn't available in gcc <= 4.6 (4.7?) nor
VS2010.
2015-05-20 23:13:17 -07:00
David Garcia Quintas 30ecd2b8d9 Return shared_ptr by value plus minor dependency fix 2015-05-20 23:08:29 -07:00
David Garcia Quintas a6b559a76a Improvements to reporting mechanism based on comments.
Turned the reporter into a composite, much cleaner arch.
2015-05-20 23:08:29 -07:00
David Garcia Quintas 226beffea1 Simplified code based on comments and fixed build.json 2015-05-20 23:08:29 -07:00