vjpai
46f65239cf
Added streaming C++ tests for sync and sync cases
10 years ago
Yang Gao
cdb2a6e071
Protect on some overflow scenarios, add a test and build/run the test
10 years ago
Yang Gao
993d540e37
covert test to use generic stub
10 years ago
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.
10 years ago
Yang Gao
757afaeb30
clang-format new changes
10 years ago
Yang Gao
3c220dfc32
Print out status when it is not ok in interop tests
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
vjpai
7aadf46fdb
Change to std::chrono and add a test.
10 years ago
Yang Gao
1ad253d137
expose the server's cq through the generic service object
10 years ago
Yang Gao
45c09db87c
sort the tags, this is not necessary, just make it look better
10 years ago
Yang Gao
9fbbc7bb13
add one bidi test
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Yang Gao
7d6b184f57
add a jwt test case for interop test
10 years ago
Yang Gao
0cb6c25e71
A first test with typed async client and untyped service for a simple rpc
10 years ago
Chilledheart
4be94b9541
Add missing GRPC_OVERRIDE, NFC
...
Testing asan configuration with the latest clang compiler fails due to
the warning `-Winconsistent-missing-override`. This patch fixes it.
10 years ago
Craig Tiller
43ef582e42
override --> GRPC_OVERRIDE
10 years ago
Craig Tiller
78524b75d7
Compile fix
10 years ago
Craig Tiller
2eaf1596bb
ACTUALLY set the server thread pool
10 years ago
Craig Tiller
a182bf12b0
clang-format
10 years ago
Craig Tiller
50a976f56c
Linux compile fix
10 years ago
Craig Tiller
c98bef7303
Compile fix
10 years ago
Craig Tiller
a8dc37a2dd
Rename some files
10 years ago
Craig Tiller
d6479d6cc4
Async server works
10 years ago
Craig Tiller
ef63839042
Async client works
10 years ago
Craig Tiller
e38ec21122
Linux compile fix
10 years ago
Craig Tiller
d1e18faefc
Async client progress
10 years ago
Craig Tiller
8856875900
Async client progress
10 years ago
Craig Tiller
f282514389
Print resource utilization
10 years ago
Craig Tiller
d701c5f5c3
Formatting
10 years ago
Craig Tiller
76877c3f66
Generate latencies in driver
10 years ago
Craig Tiller
10923c2fb5
Formatting
10 years ago
Craig Tiller
6af9ed0bf7
Rework QPS client/server
...
Now setup as a driver and N anonymous workers that may become clients or servers.
Will convert async soon.
10 years ago
Craig Tiller
26598a394a
WIP
10 years ago
Vijay Pai
acf6f318fc
Better use of threads, avoid thread safety issues on destructor with
...
a proper join.
Also had been misusing EXPECT_EQ, as well as actually having an invalid
expectation on the ok field. Now it should be sane.
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
vjpai
4e1e1bc28e
Revert "Use typedefs to avoid triply-nested function templates"
...
This reverts commit 45b0bc4bec
.
This revert is being done because the compilers on Travis don't
understand the C++11 template/using syntax.
10 years ago
vjpai
45b0bc4bec
Use typedefs to avoid triply-nested function templates
10 years ago
Yang Gao
25770b02d6
add jwt token creds test_case
10 years ago
vjpai
5b39f9a9fb
refresh -> Reset
10 years ago
vjpai
6e2e64a8b4
Stop abusing operator() overloading
10 years ago
vjpai
9440a14558
Move std::bind call out of main loop, change constructor appropriately
10 years ago
vjpai
cd801c8531
<:: -> < ::
10 years ago
vjpai
3c11066217
override->GRPC_OVERRIDE
10 years ago
Vijay Pai
64ac47f389
clang-format all these files
10 years ago
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
vjpai
dea740f329
New multithreaded async C++ tests. The server is architected the way
...
that it should be with multiple threads waiting on a single
completion queue.
The client currently uses a separate completion
queue per-thread, as trying to do a single unified queue was leading
to crashes for me. I need to figure that out.
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Craig Tiller
8ecb170151
Fix that race better
10 years ago