Lidi Zheng
eb1f21f651
Improve readability of unit tests & add one more test case
5 years ago
Lidi Zheng
cd76b79e7f
Support compression for both client and server
5 years ago
Pau Freixes
5cd4e133bf
Increase timeout in some tests
5 years ago
Pau Freixes
2d89ef0acd
Fix pylint issue
5 years ago
Pau Freixes
3a8be1784c
make YAPF happy
5 years ago
Pau Freixes
c94364f311
Use a weakset for storing ongoing calls
5 years ago
Pau Freixes
2cef2fce39
Use set as data structure for trace ongoing calls
5 years ago
Pau Freixes
d0b218ae18
Once cancelled just destroy the channel
5 years ago
Mehrdad Afshari
9bdd529077
Check .code() before .cancelled() in Python RPC tests
...
Call object's `.cancelled()` is not guaranteed to immediately return
True per spec even if `cancel()` is called. `.code()` ensures that
the RPC is terminated before we check for `.cancelled()` to ensure
our test is not stricter than necessary (a conforming implementation
should be allowed to return `False` on `cancelled()` for a bit due
to a race or something. This change makes the test more generically
applicable to other implementations.
5 years ago
Lidi Zheng
892fdf85d6
Add SecureLocalInteropTest to tests.json
5 years ago
Lidi Zheng
47246c86bb
Fix the server credentials & improve socket implementation
5 years ago
Lidi Zheng
788d14cb1f
Enable more local interop test cases and other fixes:
...
* Support echo status and metadata for interop test server
* Add set_code and set_details for ServicerContext
* Add an is_ok() method on cygrpc._AioCall object
* Sanitize user supplied status code
* Prettify server-side unexpected exception log
* Reduce log spams from unary calls
5 years ago
Lidi Zheng
9b26b410fb
Support echo status for interop test server
5 years ago
Lidi Zheng
4842e23e9c
Make YAPF happy
5 years ago
Lidi Zheng
3e2d5da7a2
Use as much template as possible & fix some wording
5 years ago
Lidi Zheng
acbc36b281
Remove the unused constant
5 years ago
Lidi Zheng
20a6edfe6e
Restrict visibility & improve readability
5 years ago
Lidi Zheng
dc202bdf1f
Adding gRPC Python AsyncIO interop client and server
5 years ago
Lidi Zheng
b62bc90cec
Update tests.json
5 years ago
Lidi Zheng
f3acd16a49
The initialization of connection might take longer than expected
5 years ago
Lidi Zheng
f713be4f96
Fix the json
5 years ago
Lidi Zheng
ece8422dd0
Simplify the generic handler
5 years ago
Lidi Zheng
c3caab3b3e
Make Python sanity test happy
5 years ago
Lidi Zheng
fd8cf4ec07
Use f-string
5 years ago
Lidi Zheng
2750fa31bb
Remove the evil debug line
5 years ago
Lidi Zheng
48a8072bc9
Add timeout tests
5 years ago
Lidi Zheng
387c2c7d61
Further reduce the server number to 5
5 years ago
Lidi Zheng
c926941447
Deflake the channel_argument_test & improve socket error handling
5 years ago
Lidi Zheng
27a7ec6b0d
Make YAPF happy
5 years ago
Lidi Zheng
0de9a7b231
Fix typo
5 years ago
Yash Tibrewal
74309886bb
Replace LogicalThread with WorkSerializer
5 years ago
Lidi Zheng
a63f51b1ad
Remove assertions & add a comment
5 years ago
Lidi Zheng
1b92dc0a7e
Fix the windows failure
5 years ago
Lidi Zheng
4e4f1f40f1
Correct the tests.json
5 years ago
Lidi Zheng
82b185b268
Make sanity tests happy
5 years ago
Lidi Zheng
72d6642226
Support wait-for-ready mechanism
...
* Fixing a segfault & a deadlock along the way
* Patching another loophole in the error path
5 years ago
Pau Freixes
46804d8125
Add test for stream unary close channel, remove irrelevant code
5 years ago
Pau Freixes
2f81f3df82
Fix typo
5 years ago
Mark D. Roth
380eb750ec
New JSON API
5 years ago
Pau Freixes
a1eb58c6ff
Fix pytype issue
5 years ago
Pau Freixes
cc8bd8cfda
Use Event for knowing if a callback was called or not
5 years ago
Pau Freixes
61177a2cd8
Make none graceful test explicit
5 years ago
Pau Freixes
5959b685e8
Remove unused imports, add pylint exceptions
5 years ago
Pau Freixes
90331211a6
Add graceful period for closing the channel
...
Separated the tests for testing how a channel is closed into another
test file.
Fixed a bug introduced into the interceptors code in the previous
commit.
5 years ago
Jan Tattermusch
f098606c4a
Revert "Revert "Reintroduce #21527 (boringssl submodule unification)""
...
This reverts commit cca892022b
.
5 years ago
Lidi Zheng
e5ff58ed85
Make YAPF happy
5 years ago
Lidi Zheng
50ed111cde
Pack the platform check into the compiler check function
5 years ago
Pau Freixes
c2b3e00068
[Aio] Close ongoing calls when the channel is closed
...
When the channel is closed, either by calling explicitly the `close()`
method or by leaving an asyncrhonous channel context all ongoing RPCs will be
cancelled.
5 years ago
Lidi Zheng
09d121f65e
Fix the windows build failure
5 years ago
hcaseyal
cca892022b
Revert "Reintroduce #21527 (boringssl submodule unification)"
5 years ago