Craig Tiller
45551e0c99
Fix sanity
2016-02-08 14:22:40 -08:00
Sree Kuchibhotla
001db590ff
Modify the test to have large number of threads receiving the RPCs and a
...
smaller number of threads sending the RPCs. This increases the
likelyhood of race-conditions on receiving threads.
2016-02-08 10:57:41 -08:00
Craig Tiller
3ad28d0f1c
Merge pull request #4828 from vjpai/async_thread_stress_test
...
Introduce thread stress test for async RPCs
2016-02-04 11:04:22 -08:00
Yang Gao
0789c49566
Merge pull request #5042 from ctiller/compile
...
Fix clang3.7/tsan compile failure
2016-02-04 09:18:02 -08:00
Vijay Pai
0a3a766960
Give tsan a chance
2016-02-04 07:32:29 -08:00
Vijay Pai
912fe05ed3
Merge branch 'master' into async_thread_stress_test
2016-02-03 16:23:45 -08:00
Vijay Pai
feef8be5ae
clang-format
2016-02-03 16:21:25 -08:00
Vijay Pai
63b28447e8
Remove the command-line flags
2016-02-03 15:40:06 -08:00
Vijay Pai
490e5023d7
Fix a typecast...
2016-02-03 15:37:03 -08:00
Vijay Pai
e51d29d93c
Remove some std:: so that grpc:: will be used by default when available
2016-02-03 12:00:09 -08:00
Vijay Pai
9f3bbb00d8
Generalize namespace for ParseCommandLineFlags
2016-02-03 11:41:50 -08:00
Vijay Pai
d10bbb63f8
Refactor to favor composition over inheritance
...
Also make num_threads and num_rpcs as command-line flags
2016-02-03 11:26:23 -08:00
Craig Tiller
e1c2d6a6df
Fix clang3.7/tsan compile failure
2016-02-03 11:18:29 -08:00
Vijay Pai
ce7929c877
Merge branch 'master' into async_thread_stress_test
2016-02-03 10:13:19 -08:00
Sree Kuchibhotla
4aadcb4ebf
Run tools/distrib/clang_format_code.sh
2016-02-03 09:44:27 -08:00
Sree Kuchibhotla
9bc6fa0a40
Merge branch 'master' into server_try_cancel_api
2016-02-03 07:41:31 -08:00
yang-g
9fd55b0d2d
remove duplicate functions
2016-02-02 16:23:35 -08:00
yang-g
7b0edbd1a3
remove the old impl caused by 4921
2016-02-02 16:05:21 -08:00
Sree Kuchibhotla
a0a8eaab0e
Merge branch 'master' into server_try_cancel_api
2016-02-01 14:04:19 -08:00
Sree Kuchibhotla
369a04ace6
Address code review comments
2016-02-01 10:53:13 -08:00
yang-g
f8174ea37d
use huffman prefix
2016-02-01 00:09:13 -08:00
Sree Kuchibhotla
0f242acb9d
Comments and a minor fix
2016-01-29 18:13:33 -08:00
Sree Kuchibhotla
4fb590852f
Use the same completion queue for both client and server
2016-01-29 11:16:24 -08:00
Sree Kuchibhotla
f25c6ba229
Comments and format
2016-01-28 18:04:03 -08:00
Sree Kuchibhotla
944f4cf14e
Sync server end2end and async_end2end tests
2016-01-28 17:37:10 -08:00
David Garcia Quintas
b4e51b52bd
Merge branch 'master' of github.com:grpc/grpc into sync-async-plus-interfaces
2016-01-27 19:57:58 -08:00
Vijay Pai
1d5faae03b
Merge branch 'master' into async_thread_stress_test
2016-01-27 15:20:03 -08:00
Craig Tiller
a0fef14784
clang-format code
2016-01-27 15:10:39 -08:00
Craig Tiller
b0f275e4af
Small testing fixes
...
- end2end test deadlines may complete before checking IsCancelled
=> don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
2016-01-27 10:45:50 -08:00
vjpai
c1e70dbc61
100->1000
2016-01-26 15:24:56 -08:00
vjpai
79bdde2ac3
Make async message match sync
2016-01-26 15:22:21 -08:00
Vijay Pai
c7c5639d3e
Make TearDown follow typical gtest fixture format
2016-01-22 15:34:14 -08:00
Vijay Pai
e3b03712fd
100->1000
2016-01-22 11:20:37 -08:00
Vijay Pai
4dc269ed98
Merge async client thread stress test into main thread stress test so as to
...
improve code reuse
2016-01-22 11:19:30 -08:00
Vijay Pai
dac77d600c
Trim some unused code copied from another test.
2016-01-21 18:00:42 -08:00
Vijay Pai
abd5aa402f
Introduce thread stress test using async client. The server is still sync
...
for now. This will increase our coverage of concurrent execution cases in C++
since we don't currently have any coverage for multithreaded async execution using
a common completion queue.
In this test, 100 client threads initiate 1000 RPCs each, then join, and then
100 client threads come along to proces those RPC completion events as they come back.
2016-01-21 17:48:29 -08:00
David Garcia Quintas
f3ddb7c55a
clang-format
2016-01-20 16:02:22 -08:00
yang-g
b971173712
Add tests with a second service
2016-01-15 16:53:08 -08:00
yang-g
4fac82b672
remove outdated api
2016-01-15 13:15:32 -08:00
yang-g
ad63510102
Add a test with two methods generic
2016-01-15 13:11:37 -08:00
yang-g
9f17314a35
move utilities to a separate file
2016-01-15 12:46:40 -08:00
yang-g
c021c9be5b
clang-format
2016-01-15 11:28:35 -08:00
yang-g
269b8be406
add generic test
2016-01-15 10:46:26 -08:00
yang-g
8053d2feb6
Merge remote-tracking branch 'upstream/master' into sync_async_mix
2016-01-15 08:53:15 -08:00
yang-g
d6f7d99dc6
Add a hybrid end2end test mixing sync and async methods
2016-01-14 16:04:20 -08:00
David Garcia Quintas
2bf574f814
Added back trailing newlines
2016-01-14 15:55:03 -08:00
yang-g
be5a2c4f04
working test
2016-01-14 13:11:15 -08:00
yang-g
25f191d49b
merge with head
2016-01-14 11:51:11 -08:00
murgatroid99
ace28d3f98
Fix copyrights again
2016-01-14 10:12:10 -08:00
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
2016-01-13 22:52:17 -08:00