linkerd2/controller/api/destination
Alex Leong 7edd886c91
test(multicluster): Wait for cluster store to be populated in test
The federated service watcher test has a race condition where we create a cluster store with a set of kubernetes manifests and then immediately begin testing queries to that cluster store.  If these queries are executed before the cluster store's informers process the kubernetes manifests, the queries can fail.

In the context of this test, this failure manifests as the read on the updates channel never returning, resulting in test timeouts.

We fix this by waiting for the cluster store to be populated before continuing with the test and issuing queries.

Signed-off-by: Alex Leong <alex@buoyant.io>
2025-04-11 14:41:56 -07:00
..
external-workload build(deps): bump k8s.io/client-go from 0.30.3 to 0.31.0 (#12958) 2024-09-04 09:04:04 -05:00
watcher fix(test): avoid duplicate registry errors (#13898) 2025-04-03 15:05:24 -05:00
client.go build(deps): bump google.golang.org/grpc from 1.63.2 to 1.64.0 (#12593) 2024-05-22 14:40:04 -05:00
dedup_profile_listener.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
default_profile_listener.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
destination_fuzzer.go feat(destination): set parent and profile references (#13292) 2024-11-09 00:11:40 +00:00
endpoint_profile_translator.go feat(destination): introduce transport-protocol outbound TLS mode (#13699) 2025-03-05 13:51:21 -08:00
endpoint_profile_translator_test.go feat(dest): Default meshed traffic to inbound proxy port (#13715) 2025-03-11 15:25:40 -07:00
endpoint_translator.go fix(dest): fallback to default proxy inbound port when one could not be discovered on an ExternalWorkload (#13840) 2025-03-21 15:25:15 +02:00
endpoint_translator_test.go fix(dest): fallback to default proxy inbound port when one could not be discovered on an ExternalWorkload (#13840) 2025-03-21 15:25:15 +02:00
fallback_profile_listener.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
fallback_profile_listener_test.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
federated_service_watcher.go feat(destination): introduce transport-protocol outbound TLS mode (#13699) 2025-03-05 13:51:21 -08:00
federated_service_watcher_test.go test(multicluster): Wait for cluster store to be populated in test 2025-04-11 14:41:56 -07:00
opaque_ports_adaptor.go destination: Avoid sending spurious profile updates (#10517) 2023-03-13 13:36:18 -07:00
profile_translator.go feat(destination): set parent and profile references (#13292) 2024-11-09 00:11:40 +00:00
profile_translator_test.go feat(destination): set parent and profile references (#13292) 2024-11-09 00:11:40 +00:00
server.go feat(destination): introduce transport-protocol outbound TLS mode (#13699) 2025-03-05 13:51:21 -08:00
server_ipv6_test.go fix(test): avoid duplicate registry errors (#13898) 2025-04-03 15:05:24 -05:00
server_test.go fix(test): avoid duplicate registry errors (#13898) 2025-04-03 15:05:24 -05:00
syncronized_get_stream.go Add federated service watcher (#13267) 2024-11-08 09:34:01 -08:00
test_util.go fix(test): avoid duplicate registry errors (#13898) 2025-04-03 15:05:24 -05:00