diff --git a/examples/demo-rollup/sov-benchmarks/src/node/rollup_coarse_measure.rs b/examples/demo-rollup/sov-benchmarks/src/node/rollup_coarse_measure.rs index b30b960d9a..5a60fab4a7 100644 --- a/examples/demo-rollup/sov-benchmarks/src/node/rollup_coarse_measure.rs +++ b/examples/demo-rollup/sov-benchmarks/src/node/rollup_coarse_measure.rs @@ -45,12 +45,12 @@ fn print_times( table.printstd(); assert!( - tps > MIN_TPS, + tps >= MIN_TPS, "TPS {tps} dropped below {MIN_TPS}, investigation is needed" ); assert!( - tps < MAX_TPS, - "TPS {tps} reached unrealistic number {MAX_TPS}, investigation is needed" + tps <= MAX_TPS, + "TPS {tps} exceeded unrealistic number {MAX_TPS}, investigation is needed" ); } diff --git a/examples/demo-rollup/tests/restart/graceful.rs b/examples/demo-rollup/tests/restart/graceful.rs index 45456fad5b..b65fb38921 100644 --- a/examples/demo-rollup/tests/restart/graceful.rs +++ b/examples/demo-rollup/tests/restart/graceful.rs @@ -696,7 +696,7 @@ async fn check_with_increasing_stf_infos( .unwrap(); assert!( slot.number > last_processed_slot_number, - "Received notification for slot n={} is lower than last seen: {}", + "Received notification for slot n={} is not greater than last seen: {}", slot.number, last_processed_slot_number );