From 7782c7f7983433af261081d816f39af4e36baf23 Mon Sep 17 00:00:00 2001 From: zyc <109252977+YichiZhang0613@users.noreply.github.com> Date: Mon, 18 May 2026 20:55:46 +0800 Subject: [PATCH] Fix inconsistency --- .../sov-benchmarks/src/node/rollup_coarse_measure.rs | 6 +++--- examples/demo-rollup/tests/restart/graceful.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 );