yang-g
976fff1797
Create a macro to allow custom dualstack socket
5 years ago
Zhanghui Mao
09168c534f
fix type annotation
5 years ago
Richard Belleville
db27226b3f
Don't run under gevent
5 years ago
Richard Belleville
c9d90e5c1b
Use wait_for_ready in tests
5 years ago
Richard Belleville
6b42bcc03d
Sanity tests make me lose my sanity
5 years ago
Richard Belleville
f921f01262
Format
5 years ago
Richard Belleville
b5d69d2cd1
Clean up test
5 years ago
Richard Belleville
0fe463b2d3
Don't run on Python 2
5 years ago
Richard Belleville
0fd0948bfa
Generate simple stubs
5 years ago
Zhanghui Mao
701ec0be20
add type annotation
5 years ago
Mark D. Roth
19e28b1353
Refactor code for gracefully switching child LB policies.
5 years ago
Zhanghui Mao
26985fd722
fix sanity checks
5 years ago
Lidi Zheng
05fa7c9255
Remove logging from qps_worker.py
5 years ago
Lidi Zheng
18a5fbeb93
Make Buildifier happy
5 years ago
Lidi Zheng
d657d73565
Integrate existing gRPC Python stack benchmarks with Bazel
5 years ago
Richard Belleville
5ef379870d
Regenerate projects
5 years ago
Mark D. Roth
b68f813e54
xds: send envoy.lb.does_not_support_overprovisioning client capability
5 years ago
Moiz Haidry
67565b767d
CallCredentials debug string API
5 years ago
Zhanghui Mao
128d030cdc
upate test
5 years ago
Richard Belleville
7adf2f5c65
Implement first pass at Python XDS interop client.
...
I discovered a couple of existing shortcomings while implementing this
client that mean this is *not yet ready for inclusion in CI*. I
nonetheless want to get an early review and integrate this to the master
branch, in the interest of small easily reviewable code changes.
The first problem was that the bazel build has apparently never pulled
roots.pem in as a data dependency. This appears not to have been a
problem until XDS enters into the mix. This has been added into the
Bazel build with a small change to the pyx_library rule.
The larger problem is that there is currently no public Python API to
get a peer's identity from the client side. This is crucial to
determining the correctness of an interaction of a client-server pair
under XDS. I intend to add such an method to the RpcContext interface in
an upcoming PR and use it in the interop client. For the moment, I
simply fake the peer details.
Finally, I add a knob to run_xds_tests.py allowing multiple instances of
this test to exist at once. Multiple instances forwarding to the same
port cannot exist on GCE, so this enables multiple people to run tests
at the same time.
5 years ago
Esun Kim
5f41758a76
Replaced gpr_asprintf with absl::StrFormat
5 years ago
Lidi Zheng
bbcaca2d83
Add uvloop argument
5 years ago
Lidi Zheng
c0e1dbc445
Update method naming & use os.path.join
5 years ago
Lidi Zheng
dbdb2cc5c9
Fix the non-protobuf scenario
5 years ago
Lidi Zheng
c22b161d4e
Improve benchmark automations:
...
1. Use monotonic time;
2. Improve readabilities;
3. Add two more fields for number of processes.
5 years ago
Lidi Zheng
728f5881a2
Remove unused exception check condition
5 years ago
Lidi Zheng
37552d3e62
Restrucutre exception catches
5 years ago
Lidi Zheng
5a7093639f
Suppress server stop log spamming
5 years ago
Lidi Zheng
f89448a9d5
Adding more comments
5 years ago
Lidi Zheng
72514e9bf4
Adding more comments & fix the outstanding channel count
5 years ago
Lidi Zheng
4819d8ba6e
Improve scenario configs & plumb through channel arguments
5 years ago
Lidi Zheng
68be8a7742
Improve log readability & polish scenario parameters
5 years ago
Lidi Zheng
03e1bf1071
Fix already cancelled RPC
5 years ago
Lidi Zheng
efe29d6945
Use the correct asyncio API
5 years ago
Lidi Zheng
f97ad240da
Remove pdb trace point
5 years ago
Lidi Zheng
50840080fb
Make YAPF happy
5 years ago
Lidi Zheng
a345803331
Fix the channel_ready usage
5 years ago
Lidi Zheng
7cb055b035
Make server parallel-able
5 years ago
Lidi Zheng
94525e5831
Parallelize sub worker creation
5 years ago
Lidi Zheng
8a70e757fa
Re-enable all scenarios
5 years ago
Lidi Zheng
ef853425cc
Use picked port instead of assigned port
5 years ago
Lidi Zheng
5e2114d92f
Fix the sub worker
5 years ago
Lidi Zheng
2d81bd203f
Introduce sub workers
5 years ago
Lidi Zheng
7cdef95c4f
Make buildifier happy
5 years ago
Lidi Zheng
6f343fc758
Make sanity tests happy
5 years ago
Lidi Zheng
49980a6db1
Make benchmark worker work
5 years ago
Lidi Zheng
2916c351d5
Use bytes instead of str
5 years ago
Lidi Zheng
c2a9f15079
One more fix for the benchmark_client.py
5 years ago
Lidi Zheng
ae44213482
Fix typos in worker_servicer.py
5 years ago
Lidi Zheng
afb080787e
Clean up self references
5 years ago