diff --git a/casr/src/bin/casr-cluster.rs b/casr/src/bin/casr-cluster.rs index 672846d1..b93c9c8f 100644 --- a/casr/src/bin/casr-cluster.rs +++ b/casr/src/bin/casr-cluster.rs @@ -625,7 +625,7 @@ fn main() -> Result<()> { .value_name("STRATEGY") .action(ArgAction::Set) .value_parser(["Diam", "Dist"]) - .default_value("Dist") + .default_value("Diam") .help("Strategy for inner cluster choosing when updating"), ) .arg( @@ -634,7 +634,7 @@ fn main() -> Result<()> { .value_name("STRATEGY") .action(ArgAction::Set) .value_parser(["Delta", "Diam", "Dist"]) - .default_value("Dist") + .default_value("Diam") .help("Strategy for outer cluster choosing when updating"), ) .arg( @@ -643,7 +643,7 @@ fn main() -> Result<()> { .value_name("LEVEL") .action(ArgAction::Set) .value_parser(["Loyal", "Soft", "Hard"]) - .default_value("Loyal") + .default_value("Soft") .help("Cluster tolerance level to new CASR reports") ) .arg( diff --git a/casr/tests/tests.rs b/casr/tests/tests.rs index f222fe8f..24946363 100644 --- a/casr/tests/tests.rs +++ b/casr/tests/tests.rs @@ -2750,21 +2750,6 @@ fn test_casr_cluster_u() { assert_eq!(clusters_cnt, 1, "Clusters count mismatch."); - let re = Regex::new( - r"Number of reports before crashline deduplication in new clusters: (?P\d+)", - ) - .unwrap(); - let before_cnt = re - .captures(&res) - .unwrap() - .name("before") - .map(|x| x.as_str()) - .unwrap() - .parse::() - .unwrap(); - - assert_eq!(before_cnt, 2, "Before count mismatch."); - let re = Regex::new( r"Number of reports after crashline deduplication in new clusters: (?P\d+)", )