Skip to content

Agent Mesh

fix test

Antonio Ojea7df55ddc90ed
diff --git a/tests/e2e/lib/container_mesh.bash b/tests/e2e/lib/container_mesh.bash
index 40326404..0e581f56 100644
--- a/tests/e2e/lib/container_mesh.bash
+++ b/tests/e2e/lib/container_mesh.bash
@@ -209,7 +209,7 @@ if [[ -z "${MESH_HELPERS_LOADED:-}" ]]; then
"sam-hub:local" \
--issuer "http://mock-oidc:18080" \
--client-id "sam-e2e" \
- --allowed-audiences "sam-e2e" \
+ --allowed-audiences "sam-e2e,sam-mesh-audience" \
--key "${key}" \
--listen "/ip4/0.0.0.0/udp/4001/quic-v1" \
--listen "/ip4/0.0.0.0/tcp/4002" \
diff --git a/tests/e2e/policy.bats b/tests/e2e/policy.bats
index 69cde7b9..0f93358d 100644
--- a/tests/e2e/policy.bats
+++ b/tests/e2e/policy.bats
@@ -188,6 +188,7 @@ EOF"
"sam-hub:local" \
--issuer "http://mock-oidc:18080" \
--client-id "sam-e2e" \
+ --allowed-audiences "sam-e2e" \
--key "${key}" \
--listen "/ip4/0.0.0.0/udp/4001/quic-v1" \
--listen "/ip4/0.0.0.0/tcp/4002" \