You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation
When we test `BuildRules` we pass MeshTimeout policies as input and
check `outbound.ResourceRules` Go struct.
When we test MeshTimeout plugin we pass `outbound.ResourceRules` Go
struct as input and check envoy configs.
We need an easy way to pass MeshTimeout policies and check envoy
configs. It's sort of an integration test that involves 2 packages. The
easiest way to do that is to add another universal e2e test with golden
files. This way we have running Kuma CP and we basically test it as a
black box.
I managed to find 2 bugs using these tests:
* #12648
* #12649
## Implementation information
We check DPP `config` (marshalled Snapshot in Kuma CP) instead of the
actual Envoy config dump for a few reasons:
* no need to add logic that waits while config is propagated on DPP
* less setup-specific values we have to reduct to have stable golden
file (only IP addresses)
* we can use `kuma.io/effect: shadow` and quickly review the `diff`
policies introduces
---------
Signed-off-by: Ilya Lobkov <[email protected]>
What happened?
In docs it says 30m https://kuma.io/docs/2.9.x/policies/meshtimeout/#defaults. In practice it's 5s because of this line
kuma/pkg/plugins/policies/meshtimeout/plugin/xds/configurer.go
Line 231 in 820494c
should be:
The text was updated successfully, but these errors were encountered: