From 71e2955da076cad03d11af86660e8e128c23655f Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Mon, 23 Mar 2026 16:38:33 +0000 Subject: [PATCH] Fix rekey integration test after logging demotion (b8fbecc) The rekey test greps container logs for initiator cutover messages that were demoted to debug level. Override RUST_LOG in the rekey profile to enable debug for fips::node::handlers::rekey so the test assertions can find them. --- testing/static/docker-compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/testing/static/docker-compose.yml b/testing/static/docker-compose.yml index eb64dad..a8e24b1 100644 --- a/testing/static/docker-compose.yml +++ b/testing/static/docker-compose.yml @@ -209,6 +209,8 @@ services: profiles: ["rekey"] container_name: fips-node-a hostname: node-a + environment: + - RUST_LOG=info,fips::node::handlers::rekey=debug volumes: - ../docker/resolv.conf:/etc/resolv.conf:ro - ./generated-configs/rekey/node-a.yaml:/etc/fips/fips.yaml:ro @@ -221,6 +223,8 @@ services: profiles: ["rekey"] container_name: fips-node-b hostname: node-b + environment: + - RUST_LOG=info,fips::node::handlers::rekey=debug volumes: - ../docker/resolv.conf:/etc/resolv.conf:ro - ./generated-configs/rekey/node-b.yaml:/etc/fips/fips.yaml:ro @@ -233,6 +237,8 @@ services: profiles: ["rekey"] container_name: fips-node-c hostname: node-c + environment: + - RUST_LOG=info,fips::node::handlers::rekey=debug volumes: - ../docker/resolv.conf:/etc/resolv.conf:ro - ./generated-configs/rekey/node-c.yaml:/etc/fips/fips.yaml:ro @@ -245,6 +251,8 @@ services: profiles: ["rekey"] container_name: fips-node-d hostname: node-d + environment: + - RUST_LOG=info,fips::node::handlers::rekey=debug volumes: - ../docker/resolv.conf:/etc/resolv.conf:ro - ./generated-configs/rekey/node-d.yaml:/etc/fips/fips.yaml:ro @@ -257,6 +265,8 @@ services: profiles: ["rekey"] container_name: fips-node-e hostname: node-e + environment: + - RUST_LOG=info,fips::node::handlers::rekey=debug volumes: - ../docker/resolv.conf:/etc/resolv.conf:ro - ./generated-configs/rekey/node-e.yaml:/etc/fips/fips.yaml:ro