linkerd2/controller/api/destination
Alejandro Pedraza 3ba66f6f9d
Fix flakey TestGetProfiles (#3965)
Fixes #3332

Fixes the very rare test failure
```
--- FAIL: TestGetProfiles (0.33s)
    --- FAIL: TestGetProfiles/Returns_server_profile (0.11s)
            server_test.go:228: Expected 1 or 2 updates but got 3:
            [retry_budget:<retry_ratio:0.2 min_retries_per_second:10
            ttl:<seconds:10 > >  routes:<condition:<path:<regex:"/a/b/c"
            > > metrics_labels:<key:"route" value:"route1" >
            timeout:<seconds:10 > > retry_budget:<retry_ratio:0.2
            min_retries_per_second:10 ttl:<seconds:10 > >
            routes:<condition:<path:<regex:"/a/b/c" > >
            metrics_labels:<key:"route" value:"route1" >
            timeout:<seconds:10 > > retry_budget:<retry_ratio:0.2
            min_retries_per_second:10 ttl:<seconds:10 > > ]
            FAIL
            FAIL  github.com/linkerd/linkerd2/controller/api/destination
            0.624s
```
that occurs when a third unexpected stream update occurs, when the fake
API takes more time to notify its listeners about the resources created.

For all the nasty details check #3332
2020-02-07 19:43:29 -05:00
..
watcher Use `t.Name()` instead of `t.Name` in tests (#3970) 2020-01-27 09:17:19 -05:00
client.go Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
endpoint_translator.go Support pod ip and service cluster ip lookups in the destination service (#3595) 2019-12-19 09:25:12 -08:00
endpoint_translator_test.go Use `t.Name()` instead of `t.Name` in tests (#3970) 2020-01-27 09:17:19 -05:00
fallback_profile_listener.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
fallback_profile_listener_test.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
profile_translator.go Update ServiceProfile CRD to version v1alpha2 and remove validation (#3078) 2019-07-23 11:46:31 -07:00
profile_translator_test.go Use `t.Name()` instead of `t.Name` in tests (#3970) 2020-01-27 09:17:19 -05:00
server.go Support pod ip and service cluster ip lookups in the destination service (#3595) 2019-12-19 09:25:12 -08:00
server_test.go Fix flakey TestGetProfiles (#3965) 2020-02-07 19:43:29 -05:00
traffic_split_adaptor.go Allow custom cluster domains in remaining backends (#3278) 2019-08-27 10:01:36 -07:00
traffic_split_adaptor_test.go Allow custom cluster domains in remaining backends (#3278) 2019-08-27 10:01:36 -07:00