Skip to content

Agent Mesh

fix e2e tests

Antonio Ojea662275482825
diff --git a/tests/e2e/key_rotation_test.bats b/tests/e2e/key_rotation_test.bats
index f654b5b7..5599ea26 100644
--- a/tests/e2e/key_rotation_test.bats
+++ b/tests/e2e/key_rotation_test.bats
@@ -38,6 +38,7 @@ teardown() {
--key "${key}" \
--listen "/ip4/0.0.0.0/udp/4001/quic-v1" \
--listen "/ip4/0.0.0.0/tcp/4002" \
+ --external-multiaddr "/dns4/sam-hub/tcp/4002" \
--mesh "e2e-mesh" \
--key-rotation-interval 5s >/dev/null
diff --git a/tests/e2e/lib/container_mesh.bash b/tests/e2e/lib/container_mesh.bash
index 11aa689d..f8c46560 100644
--- a/tests/e2e/lib/container_mesh.bash
+++ b/tests/e2e/lib/container_mesh.bash
@@ -38,7 +38,7 @@ if [[ -z "${MESH_HELPERS_LOADED:-}" ]]; then
}
mesh_build_runtime_image() {
- docker build \
+ docker build --no-cache \
-f tests/e2e/docker/Dockerfile.sam-runtime \
-t "${MESH_RUNTIME_IMAGE}" \
. >/dev/null