fix: formatting
This commit is contained in:
parent
f247140f9b
commit
7955fabd0d
|
@ -2,7 +2,4 @@ use crate::node::NomosNode;
|
|||
|
||||
pub trait Cluster {
|
||||
fn members(&self) -> Vec<Box<dyn NomosNode>>;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
mod cluster;
|
||||
mod node;
|
||||
pub mod config;
|
||||
mod node;
|
||||
pub mod test_case;
|
||||
|
||||
pub trait TestCase {
|
||||
fn name(&self) -> &'static str;
|
||||
fn run(&self) -> Result<(), anyhow::Error>;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
|
||||
|
||||
use nomos_cluster_tests::{config::{Config, LogArgs}, test_case::data_integrity_nodes_join_leave::DataIntegrityNodesJoinLeave, TestCase};
|
||||
use clap::Parser;
|
||||
use color_eyre::eyre::Result;
|
||||
use nomos_cluster_tests::{
|
||||
config::{Config, LogArgs},
|
||||
test_case::data_integrity_nodes_join_leave::DataIntegrityNodesJoinLeave,
|
||||
TestCase,
|
||||
};
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
pub trait NomosNode {
|
||||
fn start(&self) -> String;
|
||||
fn stop(&self) -> String;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use anyhow::Error;
|
||||
use crate::TestCase;
|
||||
use anyhow::Error;
|
||||
|
||||
pub struct DataIntegrityNodesJoinLeave;
|
||||
|
||||
|
@ -11,4 +11,4 @@ impl TestCase for DataIntegrityNodesJoinLeave {
|
|||
fn run(&self) -> Result<(), Error> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
pub mod data_integrity_nodes_join_leave;
|
||||
pub mod data_integrity_nodes_join_leave;
|
||||
|
|
Loading…
Reference in New Issue