Skip to content

Commit 45ddca7

Browse files
committed
fix(e2e): ignore transient Gateway route addresses
1 parent 096768b commit 45ddca7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • test-suites/full-stack-compose/scripts

test-suites/full-stack-compose/scripts/runner.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,10 @@ capture_gateway_state() {
501501
| jq -S '. as $status | {
502502
id: $status.id,
503503
uuid: ([$status.nodes[] | select(.id == $status.id)][0].uuid),
504-
hosts: ([$status.hosts[] | {instance_id,ip,app_id,base_domain}] | sort_by(.instance_id))
504+
# The active WireGuard address can move to the surviving Gateway
505+
# subnet during a rolling restart. It is runtime routing state, not a
506+
# durable identity invariant.
507+
hosts: ([$status.hosts[] | {instance_id,app_id,base_domain}] | sort_by(.instance_id))
505508
}' \
506509
> "$WORK_DIR/gateway${node}-${stage}.status.json"
507510
admin_curl "$node" GetCertbotConfig | jq -S \

0 commit comments

Comments
 (0)