Remoe all references to leader and follower

This commit is contained in:
Omar Abdulla
2025-09-18 20:03:33 +03:00
parent 496bc9a0ec
commit b962d032b9
8 changed files with 48 additions and 41 deletions
+2 -2
View File
@@ -466,7 +466,7 @@ pub enum TestCaseStatus {
},
}
/// Information related to the leader or follower node that's being used to execute the step.
/// Information related to the platform node that's being used to execute the step.
#[derive(Clone, Debug, Serialize)]
pub struct TestCaseNodeInformation {
/// The ID of the node that this case is being executed on.
@@ -477,7 +477,7 @@ pub struct TestCaseNodeInformation {
pub connection_string: String,
}
/// Execution information tied to the leader or the follower.
/// Execution information tied to the platform.
#[derive(Clone, Debug, Default, Serialize)]
pub struct ExecutionInformation {
/// Information related to the node assigned to this test case.
+1 -1
View File
@@ -22,7 +22,7 @@ pub struct TestSpecifier {
}
/// An absolute path for a test that also includes information about the node that it's assigned to
/// and whether it's the leader or follower.
/// and what platform it belongs to.
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct ExecutionSpecifier {
pub test_specifier: Arc<TestSpecifier>,
+2 -2
View File
@@ -434,7 +434,7 @@ macro_rules! define_event {
}
/// A reporter that's tied to a specific execution of the test case such as execution on
/// a specific node like the leader or follower.
/// a specific node from a specific platform.
#[derive(Clone, Debug)]
pub struct [< $ident ExecutionSpecificReporter >] {
$vis reporter: [< $ident Reporter >],
@@ -520,7 +520,7 @@ define_event! {
/// A reason for the failure of the test.
reason: String,
},
/// An event emitted when the test case is assigned a leader node.
/// An event emitted when the test case is assigned a platform node.
NodeAssigned {
/// A specifier for the test that the assignment is for.
test_specifier: Arc<TestSpecifier>,