Skip to content

Commit b8a130f

Browse files
committed
Configure standalone router lease TTL and renewal interval in tests
1 parent deaf9b9 commit b8a130f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/e2e/lib/container_mesh.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ EOF
418418
--db-dsn "/data/control-plane.db" \
419419
--key-rotation-interval "${rotation_interval}" \
420420
--key-grace-period "${grace_period}" \
421+
--lease-duration "15s" \
421422
--policy-file "/etc/sam/policies.yaml" >/dev/null
422423

423424
MESH_CONTAINERS+=("${hub_name}-cp")
@@ -460,6 +461,7 @@ EOF
460461
--jwt-path "/var/run/secrets/tokens/sa-token" \
461462
--keys-path "/data/router.key" \
462463
--allow-loopback \
464+
--lease-renew-interval 5s \
463465
--log-level debug >/dev/null
464466

465467
MESH_CONTAINERS+=("${hub_name}")

0 commit comments

Comments
 (0)