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