Commit Graph

620 Commits

Author SHA1 Message Date
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
David Garcia Quintas 87ca82768d Added missing benchmark_config.* files 2015-05-20 23:08:29 -07:00
David Garcia Quintas 3cc9ec92d9 Removed registry for benchmark reports & introduced benchmark_config.{h,cc} in the spirit of test_config.{h,cc}.
The purpose of benchmark_config is to allow for different behaviors to
be decided at compile-time.
2015-05-20 23:08:29 -07:00
David Garcia Quintas cdbdedbf23 Refactored benchmark reporting mechanism.
It now allows pluggging in "reporter" instances to process the benchmark results arbitrarily.
This would allow, for example, to send results to a leaderboard and/or other systems for tracking performance metrics.
2015-05-20 23:08:29 -07:00
David Garcia Quintas 08116501cb Fix to work around the fact that Histogram isn't copyable. 2015-05-20 17:27:23 -07:00
Craig Tiller 037d8700a7 Merge github.com:grpc/grpc into we-dont-need-no-backup 2015-05-19 22:20:57 -07:00
David Garcia Quintas 6ba29ba3fb Added the client and server configurations to the bench results proto.
The added configurations also include the host of both parties. This
is useful for reporting.
2015-05-19 18:29:35 -07:00
Craig Tiller fd7166d264 Add response streams to server crash test, fix them 2015-05-19 10:23:03 -07:00
Craig Tiller 7a317e5c77 Add crashing client test 2015-05-19 09:38:29 -07:00
Craig Tiller 882431fff5 Compile fix 2015-05-19 09:25:37 -07:00
Craig Tiller 4f8b679a49 Merge github.com:grpc/grpc into mmm-mmm-mmm-mmm
Conflicts:
	Makefile
	build.json
2015-05-19 09:13:35 -07:00
Craig Tiller 49c3b01c3e Better RNG seeding portability 2015-05-19 08:18:02 -07:00
Craig Tiller f98e56c91b Cheesy attempt to get this working on Travis 2015-05-18 15:00:52 -07:00
vjpai ccced5389d Merge branch 'master' into poisson
Conflicts:
	Makefile
2015-05-18 09:20:43 -07:00
vjpai 6a608020b0 WIP 2015-05-18 09:16:53 -07:00
Yang Gao b57f72dbee resolve comments 2015-05-17 21:54:54 -07:00
Yang Gao 26a4912558 Add fake credentials to the test and verify it actually works 2015-05-15 17:02:56 -07:00
Craig Tiller 74e5edab67 Compile fix 2015-05-15 15:55:01 -07:00
Craig Tiller a969d7c04c Compile fix 2015-05-15 15:47:51 -07:00
Craig Tiller 3cdd9bbdbc clang-format 2015-05-15 14:43:47 -07:00
Craig Tiller 069daa383e Sleep a little after server death to allow TCP time to catch up 2015-05-15 14:40:53 -07:00
Craig Tiller fbac5f17b7 Crash handling test 2015-05-15 14:20:44 -07:00
Yang Gao 280ca17d79 resolve comments 2015-05-15 10:25:10 -07:00
Yang Gao a89389283f support per call credentials in c++ 2015-05-14 11:51:07 -07:00
Craig Tiller 06cf3cc607 Fix async end2end to poll all fds from the main thread 2015-05-13 13:11:01 -07:00
Yang Gao a468c36601 Merge pull request #1493 from ctiller/churn-churn-churn-the-api-gently-down-the-stream
Completion queue binding for new requests API change
2015-05-12 12:37:24 -07:00
vjpai 37f7257529 WIP 2015-05-12 10:29:07 -07:00
vjpai 0426ad0fcb Merge branch 'master' into poisson
Conflicts:
	Makefile
2015-05-12 01:16:33 -07:00
Siddharth Rakesh 2e9157d88c Added async streaming ping pong test 2015-05-11 16:50:10 -07:00
Yang Gao 903810191e Merge pull request #1494 from ctiller/the-churnening
Lose redundant tag on unary calls
2015-05-11 11:27:02 -07:00
Yang Gao 9b75c66860 Merge pull request #1489 from ctiller/all-the-small-things
Split thread stress from end2end to improve parallelism
2015-05-11 11:17:18 -07:00
vjpai df99410ffd Merge branch 'master' into poisson
Conflicts:
	Makefile
	build.json
2015-05-11 10:03:17 -07:00
Craig Tiller 0b488f7649 Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
Conflicts:
	test/cpp/end2end/async_end2end_test.cc
2015-05-08 16:38:32 -07:00
Vijay Pai aef386b221 Merge pull request #1530 from ctiller/async-fail
Increase test timeout
2015-05-08 14:30:31 -07:00
Craig Tiller 5f871ac225 Merge github.com:grpc/grpc into the-churnening 2015-05-08 13:05:51 -07:00
Craig Tiller e9da2eefcf Merge github.com:grpc/grpc into all-the-small-things 2015-05-08 12:57:26 -07:00
Craig Tiller 2bac1f8c39 Merge pull request #1470 from vjpai/stream_ctx
Fix a bug in synchronous streaming QPS test
2015-05-08 12:12:15 -07:00
Craig Tiller f51199f2b9 Increase test timeout 2015-05-08 09:32:53 -07:00
Craig Tiller 2be6095c10 Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream 2015-05-08 08:37:41 -07:00
Craig Tiller 9b015dcf86 Merge branch 'standalone_benchmarks' of https://github.com/dgquintas/grpc into dgquintas-standalone_benchmarks 2015-05-08 08:29:26 -07:00
Craig Tiller f7ad9a0a1b Merge branch 'yang-g-mock' 2015-05-08 08:27:40 -07:00
Craig Tiller 696929e09c Merge github.com:grpc/grpc into all-the-small-things 2015-05-08 08:25:30 -07:00
Craig Tiller fee0cfa0d5 Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
Conflicts:
	src/cpp/server/server.cc
2015-05-08 07:46:46 -07:00
vjpai f993194b08 Merge branch 'stream_ctx' into poisson
Conflicts:
	test/cpp/qps/client_sync.cc
2015-05-07 10:15:04 -07:00
vjpai 8dd7aab00e Merge branch 'master' into poisson 2015-05-07 10:01:56 -07:00
Craig Tiller 2da0296478 Eliminate need for SIGPIPE handling 2015-05-06 16:14:25 -07:00
Craig Tiller fb775b80cb Fix test 2015-05-06 13:09:41 -07:00
Craig Tiller 3676b38183 Lose redundant tag on unary calls 2015-05-06 13:01:05 -07:00
Craig Tiller f9e6adf998 Completion queue binding for new requests API change
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
2015-05-06 11:45:59 -07:00
Craig Tiller 0c23320c8a Split thread stress from end2end to improve parallelism 2015-05-06 07:42:43 -07:00
vjpai 4f1a75f0aa Merge branch 'master' into stream_ctx 2015-05-05 17:11:02 -07:00
David Garcia Quintas d4f10c0320 Split C++'s smoke_test into 4 stand alone ones. 2015-05-05 15:46:27 -07:00
Yang Gao 691ff71da5 Merge remote-tracking branch 'upstream/master' into mock 2015-05-05 13:31:40 -07:00
Yang Gao 196ade3e4d add a test using the mock interfaces 2015-05-05 13:31:12 -07:00
Vijay Pai dfe83deb2c Make sure that we have enough server threads to actually support the
number of outstanding streams
2015-05-05 11:42:54 -07:00
vjpai 0a4129399a Also need to create a vector of streams 2015-05-04 16:39:18 -07:00
Vijay Pai 36ff3f00e2 clang-format 2015-05-04 14:40:21 -07:00
Vijay Pai 25aa12fa75 Support multi-stream synchronous client tests 2015-05-04 14:38:14 -07:00
Yang Gao 3d3d632d72 merge with head 2015-05-04 13:54:11 -07:00
vjpai 041998d986 Change function-pointer to std::function 2015-05-04 09:24:08 -07:00
Yang Gao c71a9d2b56 clang-format 2015-05-04 00:22:12 -07:00
vjpai ce3062b324 Merge branch 'master' into poisson 2015-05-01 15:28:52 -07:00
vjpai 3b2e2f77ff Merge branch 'master' into async-cleanup 2015-05-01 15:26:47 -07:00
Yang Gao ea13af73e0 merge with head 2015-05-01 11:34:45 -07:00
Yang Gao 3921c56bee Expose max message size at the server side 2015-04-30 16:07:06 -07:00
Vijay Pai 7ebb17e595 Merge branch 'async-cleanup' into poisson 2015-04-30 14:32:58 -07:00
Vijay Pai e10ebf15eb Keep code that is common between both async client versions in a new async superclass and only use unary/streaming-specific material in the subclass. 2015-04-30 13:12:31 -07:00
Craig Tiller 81e57d9acf Add a thread stress end2end test 2015-04-29 16:34:13 -07:00
Vijay Pai 0b94127bb1 Merge branch 'master' into poisson 2015-04-29 13:58:36 -07:00
vjpai 9ba29cd8f3 Move end_threads to subclass since some subclass-specific fields will still be
alive at this time

Conflicts:
	test/cpp/qps/client_sync.cc
2015-04-29 11:06:57 -07:00
vjpai 07b2fe6f96 Move end_threads to subclass since some subclass-specific fields will still be
alive at this time
2015-04-29 10:40:26 -07:00
vjpai c6aa60e510 Move interarrival timer to Client class so that it can be used for async tests
as well
2015-04-29 10:20:41 -07:00
vjpai 7608e9ed45 Merge branch 'master' into poisson 2015-04-29 10:18:40 -07:00
Craig Tiller c8667056d5 Merge pull request #1367 from yang-g/interop
Add two scenarios in interop test
2015-04-28 17:09:56 -07:00
Vijay Pai 0e6df83b03 Merge branch 'master' into poisson 2015-04-28 09:15:07 -07:00
Vijay Pai fec0c2cdda Merge pull request #1375 from ctiller/qps_client
Fix a race in QPS client shutdown
2015-04-28 07:55:54 -07:00
vjpai a188b1f1c4 Merge branch 'poisson' of git://github.com/vjpai/grpc into vjpai-poisson
Conflicts:
	Makefile
2015-04-27 16:24:22 -07:00
Vijay Pai 4d4372b452 Supply command line flags for open-loop testing 2015-04-27 12:21:15 -07:00
Vijay Pai e36a32a495 Fix names 2015-04-27 12:21:06 -07:00
Vijay Pai 87dd702783 Fix embarassing break bug 2015-04-27 12:17:37 -07:00
Craig Tiller 98ae48d63c Ignore SIGPIPE 2015-04-27 11:20:39 -07:00
Craig Tiller 77e0d64b4d Fix a race in QPS client shutdown
Previously we were cleaning up threads only AFTER local resources were
reclaimed, leading to many crashes.
2015-04-27 10:52:54 -07:00
Vijay Pai 105ff2eb2e Support for open-loop sync test 2015-04-26 01:04:23 -07:00
Craig Tiller 7305dc69e6 Merge pull request #1227 from nicolasnoble/the-purge-2
Refactoring std::chrono out.
2015-04-24 17:57:49 -07:00
Yang Gao fa74ec4617 Merge pull request #1359 from a11r/cc2
Test client stream cancellation and fix bug exposed by the test.
2015-04-24 15:16:51 -07:00
Yang Gao 68d615737b Add two scenarios in interop test 2015-04-24 14:42:42 -07:00
Nicolas "Pixel" Noble fd2bf675f7 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Nicolas "Pixel" Noble 23be280366 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	src/cpp/client/channel.cc
	vsprojects/vs2010/grpc++.vcxproj
	vsprojects/vs2013/grpc++.vcxproj.filters
2015-04-24 00:38:19 +02:00
Abhishek Kumar d774c5cadb Test client stream cancellation and fix bug exposed by the test. 2015-04-23 14:59:49 -07:00
Craig Tiller bab1d2cf5f Merge pull request #1307 from a11r/streamcancel
Added e2e tests for server and bidi stream cancellation.
2015-04-23 14:15:41 -07:00
Vijay Pai e23aba4884 Fix definition of InterarrivalTimer to enable late initialization
and use nanoseconds
2015-04-23 13:53:36 -07:00
Abhishek Kumar a1d3a72930 fixed indentation 2015-04-23 10:24:04 -07:00
Yang Gao 3fbf7d76e2 Merge pull request #1312 from ctiller/batch-metadata
Batch metadata
2015-04-22 14:35:46 -07:00
vjpai 9cf0b3b84d Random number distributions and test for common distributions 2015-04-21 12:58:31 -07:00
Yang Gao 3b3097fb7a Remove an extra unref 2015-04-21 11:47:45 -07:00
Craig Tiller 12088b26d9 Tweak tests 2015-04-20 09:51:27 -07:00
Abhishek Kumar 18298a7440 Fixed flakes due to OK racing with cancel 2015-04-17 15:00:25 -07:00
Abhishek Kumar e41d0402ba Added end2end test for server streaming rpc cancellation. 2015-04-17 14:12:33 -07:00
Abhishek Kumar 82a83313db Added test case demonstrating cancel on bidi stream 2015-04-17 13:30:51 -07:00
Abhishek Kumar 60572d422b Move .proto files up for reuse 2015-04-16 20:45:25 -07:00
Abhishek Kumar 1b3e3cd75b Moving test.proto to an outer directory so others can depend on it. 2015-04-16 20:10:29 -07:00
Nicolas Noble d35b7107f8 Merge pull request #1291 from yang-g/headers
Wrap ParseCommandLineFlags in InitTest
2015-04-16 15:50:58 -07:00
Yang Gao 103837ee6b Wrap ParseCommandLineFlags in InitTest 2015-04-15 15:23:54 -07:00
Yang Gao eaccf90aef Return 1 when test_case is not supported in interop test 2015-04-15 14:05:07 -07:00
Nicolas "Pixel" Noble b7c2035e83 Merge branch 'master' of https://github.com/grpc/grpc into the-purge-2
Conflicts:
	test/cpp/end2end/async_end2end_test.cc
	test/cpp/end2end/end2end_test.cc
	test/cpp/interop/client.cc
2015-04-11 01:53:09 +02:00
Craig Tiller b1c55ce13d Merge github.com:grpc/grpc into local_worker 2015-04-10 22:13:37 +00:00
Nicolas Noble 92cd367b99 Merge pull request #1244 from yang-g/interop
Split interop client and server into components
2015-04-10 13:51:36 -07:00
Craig Tiller 217b7f0e80 Merge branch 'qps' into local_worker
Conflicts:
	Makefile
	build.json
	test/cpp/qps/worker.cc
2015-04-10 08:31:37 -07:00
Craig Tiller 66f37b477d Merge github.com:google/grpc into qps
Conflicts:
	Makefile
2015-04-10 08:28:31 -07:00
Craig Tiller 66048f4fc1 Add reporting library, use it 2015-04-10 08:23:52 -07:00
Craig Tiller 41faf0f4c8 s/11/1 2015-04-10 08:06:05 -07:00
Yang Gao a40020788f Split interop client and server into components 2015-04-09 23:25:21 -07:00
Craig Tiller e9a6eb7332 Allow RunScenarios to spawn in-process workers
This allows us to get back to single binary tests where appropriate, which will help in-depth profiling efforts.
I've built this atop my smoke_test changes as they inspired me to get this done.
2015-04-09 15:51:41 -07:00
Craig Tiller c908eb65df :Merge branch 'qps' of github.com:ctiller/grpc into qps 2015-04-09 21:46:49 +00:00
Craig Tiller 4cc8a172f5 Tweaks 2015-04-09 21:46:33 +00:00
Yang Gao 3ca65e3228 Merge pull request #1238 from nicolasnoble/plugin-rework
Splitting gRPC service class codegen into its own set of files.
2015-04-09 14:35:42 -07:00
Nicolas "Pixel" Noble 0caebbfcfe Splitting gRPC service class codegen into its own set of files. 2015-04-09 23:08:51 +02:00
Craig Tiller 206d59a56a fine tuning 2015-04-09 20:06:33 +00:00
Craig Tiller 8221e40ac0 Indentation fixes, s/11/1/g 2015-04-09 12:23:21 -07:00
Craig Tiller 1c61af7364 Dont sleep forever on async cq 2015-04-09 12:08:44 -07:00
Craig Tiller 8a5a666ad0 Handle errors better on client 2015-04-09 11:31:28 -07:00
Craig Tiller aa2fca5a48 Remove asserts 2015-04-09 10:56:06 -07:00
Craig Tiller 2c2cf6d2c5 Smoke test initial version 2015-04-09 09:40:20 -07:00
Craig Tiller b9de09f2ac Allow specifying warmup, benchmark times 2015-04-08 17:08:05 -07:00
Nicolas "Pixel" Noble a05b8b7b25 Removing a few more references to #include <chrono> 2015-04-08 09:07:20 +02:00
Nicolas Noble 89219162dd Refactoring std::chrono out. 2015-04-08 05:42:08 +02:00
Vijay Pai f2554d051b Revive proper SIGINT handling 2015-04-02 13:58:27 -07:00
Vijay Pai 54e16ee548 Put in calls to profiling 2015-03-31 12:50:56 -07:00
Vijay Pai 49673133b3 Remove unused header file for profiler 2015-03-31 12:39:51 -07:00
Vijay Pai ce3bd9680b Remove outdated file 2015-03-31 12:06:20 -07:00
Yang Gao 0c4b0ddcc5 Add tests with delayed cancellation from client and server 2015-03-30 13:08:34 -07:00
Vijay Pai bc6f3f04d8 Merge pull request #1144 from yang-g/genericstub
generic stub implementation
2015-03-27 15:33:07 -07:00
Yang Gao b946b5ea74 Refactor and add a unit test 2015-03-27 13:20:59 -07:00
Yang Gao fa50753059 Merge pull request #1113 from vjpai/qps-stream
Add C++ streaming QPS test, fix bug in async C++ tests
2015-03-27 10:10:29 -07:00
Yang Gao 48bbd000eb merge upstream and resolve conflict 2015-03-26 23:12:14 -07:00
Yang Gao 166f9d00ce add back mis-deleted method string 2015-03-26 23:06:45 -07:00
Yang Gao ced2b89f55 Finish grpc_cli 2015-03-26 22:59:54 -07:00
vjpai 6130809a8b Work around a compiler limitation caused by inability to properly handle
vectors created from initializer list
2015-03-26 17:12:17 -04:00
Vijay Pai 92a928fa68 Make string construction explicit as implicit conversion doesn't work in 4.4 2015-03-26 16:30:22 -04:00
vjpai 4bcab68012 Include the config.h file to make sure that nullptr is covered 2015-03-26 13:21:24 -07:00
Vijay Pai bef9cbc7dc Eliminate range-based fors 2015-03-26 11:02:06 -07:00
Vijay Pai 9032adcbef Fix conflicts 2015-03-26 10:32:52 -07:00
Nicolas Noble 96e32aa0a5 Merge pull request #1133 from yang-g/cleanup
clean up
2015-03-25 12:38:40 -07:00
Yang Gao 16c78c922c Clean up unneeded includes and remove shutdown protobuf library 2015-03-25 10:36:16 -07:00
Yang Gao a5e20d35c9 a stub of the cli tool 2015-03-25 09:55:20 -07:00
Vijay Pai 82dd80abc6 Elminate range-based fors and work around some other limitations in older compilers 2015-03-24 10:36:08 -07:00
Vijay Pai 6266b9341c Sweep different parameter sets in a single shell script. 2015-03-23 14:38:18 -07:00
Vijay Pai 1da729ad7d Merge branch 'qps-stream' of https://github.com/vjpai/grpc into vjpai-qps-stream 2015-03-23 12:52:56 -07:00
Vijay Pai 8ad32091e6 Make sure that nothing gets added to cq after shutdown 2015-03-23 12:44:28 -07:00
Vijay Pai 55bb5bdf80 No need to do an extra read 2015-03-23 12:44:09 -07:00
Vijay Pai c5b397927c test return value of rpc parse 2015-03-23 10:46:37 -07:00
vjpai 653803e310 Make RPC type configurable 2015-03-23 10:19:12 -07:00
vjpai 46f65239cf Added streaming C++ tests for sync and sync cases 2015-03-23 10:10:27 -07:00
Yang Gao cdb2a6e071 Protect on some overflow scenarios, add a test and build/run the test 2015-03-20 23:55:04 -07:00
Yang Gao 993d540e37 covert test to use generic stub 2015-03-19 13:35:49 -07:00
Jan Tattermusch 5e36d0d474 Merge pull request #1093 from nicolasnoble/windows
Various Windows fixes.
2015-03-19 10:29:47 -07:00
Yang Gao 1fc046902c sync to head and run clang-format again 2015-03-19 07:23:08 -07:00
Nicolas Noble cfd6073a66 Various Windows fixes.
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
2015-03-19 04:21:22 +01:00
donnadionne f2093977ae Merge pull request #1067 from yang-g/print
Print out status when it is not ok in interop tests
2015-03-18 17:44:42 -07:00
Yang Gao 757afaeb30 clang-format new changes 2015-03-17 15:49:26 -07:00
Yang Gao d672d8fbe2 resolve merge confict 2015-03-17 15:47:47 -07:00
Yang Gao 700bdeb6f5 Merge pull request #1023 from vjpai/async
Non-blocking Next method for C++ async completion queue
2015-03-17 15:45:33 -07:00
Yang Gao 3c220dfc32 Print out status when it is not ok in interop tests 2015-03-17 11:47:54 -07:00