Donna Dionne
7db619ba95
Code review comments.
5 years ago
Donna Dionne
424e81eaec
Code Review comments
5 years ago
Donna Dionne
63573b0515
Fixing a flaky test.
5 years ago
Donna Dionne
71aef940c3
Code review comments: added invalid config tests and restructured
...
testing code.
5 years ago
Mark D. Roth
bf6e534714
Accept either "" or "/" as the prefix for the default route.
5 years ago
Donna Dionne
84b2b98af2
clang fix
5 years ago
Donna Dionne
3135d9751a
Fixing a test after merge
5 years ago
Donna Dionne
b39feead62
Fixing code review comments.
5 years ago
Donna Dionne
019b206926
Fixing CR comments and build errors.
5 years ago
Donna Dionne
6ec6c24dc1
Fixing code review comments.
5 years ago
Muxi Yan
317a55dd7e
Use correct status code type
5 years ago
Mark D. Roth
dc976d2a77
xds: Remove fallback code and support for old xds LB configs.
5 years ago
Donna Dionne
ddb98d6b52
Fixing code review comments:
...
- added more tests and improved structuring of backend service
- fixing grpc_tool tests (due to adding of new test serices/methods
5 years ago
Donna Dionne
1ae804c8c0
Fixing code review comments:
...
- Fixing for comments in all except for test file
- Multi-purpose test_service_impl.h as oppose
to creating new files.
5 years ago
Donna Dionne
0a7b9dac06
Fixing code review comments.
5 years ago
Donna Dionne
8a8ca5436b
Added grpc arg to enable xds routing and restore old tests.
5 years ago
Donna Dionne
c4d4541af5
Added TestMultipleServiceImpl.h: a templated test service to allow
...
multiple RPC services to be used in test.
5 years ago
Donna Dionne
d9611cf1ca
Fixed AllServerUnavailableFailFast test to return UNAVAILBLE instead
...
UNKNOWN.
5 years ago
Mark D. Roth
c3fc65c9e0
Don't NACK EDS updates with no localities, but report TRANSIENT_FAILURE.
5 years ago
Donna Dionne
0c2f9565f4
Fixing code review comments
5 years ago
Mark D. Roth
f8f6034d1a
Refactor xds LB policy
5 years ago
Donna Dionne
f3f11cc21c
Added new RPC methods to test routing different RPCs to different
...
backends.
5 years ago
Donna Dionne
c0c7f1dae3
Fix build and test failures
...
Including the following
All all needed BUILD changes to include new xdsRouting
Fixed TSAN errors
AllServerUnavailableFailFast may return UNKNOWN as oppose UNAVAILABLE
ChooseLastRoute modified into 2 tests
5 years ago
Mark D. Roth
df27e42372
Report RPC failures to LB recv_trailing_metadata callbacks.
5 years ago
Donna Dionne
f487d1be61
Addressing code review comments.
5 years ago
Mark D. Roth
0e1c63a7a1
xds: don't report TRANSIENT_FAILURE when we're told to drop all
5 years ago
Mark D. Roth
fcd8bbd34c
minor cleanups in xds_end2end_test
5 years ago
Mark D. Roth
652b5a8673
xds: Add tests showing that we do not use localities with no endpoints.
5 years ago
Mark D. Roth
38f02d8e2b
xds: NACK EDS update with sparse priorities
5 years ago
Donna Dionne
ac79383583
Debugging xds_end2endtest DropTest Update by sending more initial
...
traffic.
5 years ago
Mark D. Roth
343b5403df
xds: Send RDS request when retrying ADS call.
5 years ago
Donna Dionne
70ac4b6418
Basic Parsing, building service config, and Picking are all exercised
...
with basic tests.
5 years ago
Donna Dionne
d8fc6bd4c6
Addressing code review comments.
5 years ago
Donna Dionne
f9f59ba222
Debugging xds_end2endtest LocalityMap UpdateMap by sending more traffic
...
The test is failing due to the backend not getting the expected amount
of traffic by a small margin.
Increasing traffic and adding debugs.
5 years ago
Mark D. Roth
611cf644bc
Use wait_for_ready for xds calls.
5 years ago
Mark D. Roth
5927f9b625
Gracefully switch xds policy instances when cluster name changes, and other LRS-related fixes.
5 years ago
Mark D. Roth
4c200b4300
If an EDS update replaces all localities in a priority, go into CONNECTING.
5 years ago
Donna Dionne
a61c6c36ba
LocalityMapTest.UpdateMap is rewritten
...
to set the second EDS update more deterministically instead of using
a delay.
This test popped up as a flake after the refactoring of the xds_end2end
test and it can now be rewritten to be more determinsitic.
5 years ago
Mark D. Roth
86cbef7f72
clang-format
5 years ago
Mark D. Roth
6b315db2ba
add test for removed cluster resource
5 years ago
Mark D. Roth
027492ff86
add missing comment
5 years ago
Mark D. Roth
46b4414655
change logic to send empty response when resources go away
5 years ago
Mark D. Roth
c306d7940f
add test for changing clusters
5 years ago
Mark D. Roth
b4d5901b5e
clean up test code
5 years ago
Donna Dionne
7a146722db
Harded coded a service config to point to xds_routing_experimental
...
With just 1 action, which has 1 child policy: cds_experimental
Basically wrapping the previous cds_experimental config inside the new
xds_routing_experimental
Tested to make sure all current tests still pass.
This is just a skeleton code to allow new parsing code to be added and
tested.
5 years ago
Donna Dionne
e2178cc1ff
Merged and addressed code review comments.
5 years ago
Donna Dionne
854ebff0c3
Making ClingTidy changes
...
https://critique-ng.corp.google.com/cl/298652594/analysis
5 years ago
Donna Dionne
d5689c37ed
Converting AdsServiceImpl to a Fake
...
- Allow Resources to be set
- Allow clients to subscribe/unsubscribe to resources
- Managing, storing, and versioning resources correctly based on updates
- Correct ACK/NACK according to XDS protocol
- Started a separate blocking thread to be used for stream read
- Handling both requests from clients and updates from tests and respond
with the correct version of resource
- Consolidated all 4 resources (LDS, CDS, EDS, RDS) to share common code
- Updated all tests to use the fake properly
- Fixed potential crash cases in the subchannel thread for clean TSAN,
UBSAN runs
5 years ago
Mark D. Roth
b68f813e54
xds: send envoy.lb.does_not_support_overprovisioning client capability
5 years ago
Mark D. Roth
06e34a1d4f
Update LRS to use "PROXYLESS_CLIENT_HOSTNAME" metadata instead of cluster field.
5 years ago