Commit Graph

262 Commits

Author SHA1 Message Date
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 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 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
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
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 fec0c2cdda Merge pull request #1375 from ctiller/qps_client
Fix a race in QPS client shutdown
2015-04-28 07:55:54 -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
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
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
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