From 680cc5c174e337c3c09d598f109b77c9fe776809 Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Thu, 28 Aug 2025 15:40:23 +0300 Subject: [PATCH] Remove the static testing target from the report --- crates/core/src/main.rs | 4 ++-- crates/report/src/aggregator.rs | 2 +- crates/report/src/runner_event.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/core/src/main.rs b/crates/core/src/main.rs index 80caab3..83f839f 100644 --- a/crates/core/src/main.rs +++ b/crates/core/src/main.rs @@ -367,14 +367,14 @@ where test.reporter .report_leader_node_assigned_event( test.leader_node.id(), - L::config_id(), + *L::config_id(), test.leader_node.connection_string(), ) .expect("Can't fail"); test.reporter .report_follower_node_assigned_event( test.follower_node.id(), - F::config_id(), + *F::config_id(), test.follower_node.connection_string(), ) .expect("Can't fail"); diff --git a/crates/report/src/aggregator.rs b/crates/report/src/aggregator.rs index e32ea3a..913b0d5 100644 --- a/crates/report/src/aggregator.rs +++ b/crates/report/src/aggregator.rs @@ -495,7 +495,7 @@ pub struct TestCaseNodeInformation { /// The ID of the node that this case is being executed on. pub id: usize, /// The platform of the node. - pub platform: &'static TestingPlatform, + pub platform: TestingPlatform, /// The connection string of the node. pub connection_string: String, } diff --git a/crates/report/src/runner_event.rs b/crates/report/src/runner_event.rs index 3b527cd..bdd6c0e 100644 --- a/crates/report/src/runner_event.rs +++ b/crates/report/src/runner_event.rs @@ -527,7 +527,7 @@ define_event! { /// The ID of the node that this case is being executed on. id: usize, /// The platform of the node. - platform: &'static TestingPlatform, + platform: TestingPlatform, /// The connection string of the node. connection_string: String, }, @@ -538,7 +538,7 @@ define_event! { /// The ID of the node that this case is being executed on. id: usize, /// The platform of the node. - platform: &'static TestingPlatform, + platform: TestingPlatform, /// The connection string of the node. connection_string: String, },