mirror of https://github.com/linkerd/linkerd2.git
This adds additional tests for the destination service that assert `GetProfile` behavior when the path is an IP address. 1. Assert that when the path is a cluster IP, the configured service profile is returned. 2. Assert that when the path a pod IP, the endpoint field is populated in the service profile returned. 3. Assert that when the path is not a cluster or pod IP, the default service profile is returned. 4. Assert that when path is a pod IP with or without the controller annotation, the endpoint has or does not have a protocol hint Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com> |
||
---|---|---|
.. | ||
watcher | ||
client.go | ||
endpoint_translator.go | ||
endpoint_translator_test.go | ||
fallback_profile_listener.go | ||
fallback_profile_listener_test.go | ||
profile_translator.go | ||
profile_translator_test.go | ||
server.go | ||
server_test.go | ||
traffic_split_adaptor.go | ||
traffic_split_adaptor_test.go |