Make availability-recovery-regression-bench a benchmark (#3741)

Closes: https://github.com/paritytech/polkadot-sdk/issues/3704
This commit is contained in:
Bastian Köcher
2024-03-19 09:27:51 +01:00
committed by GitHub
parent 8b3bf39ab8
commit 430ad2f561
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -502,7 +502,7 @@ subsystem-regression-tests:
- .common-refs
- .run-immediately
script:
- cargo test --profile=testnet -p polkadot-availability-recovery --test availability-recovery-regression-bench --features subsystem-benchmarks
- cargo bench --profile=testnet -p polkadot-availability-recovery --bench availability-recovery-regression-bench --features subsystem-benchmarks
tags:
- benchmark
allow_failure: true
@@ -43,9 +43,9 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" }
polkadot-primitives-test-helpers = { path = "../../../primitives/test-helpers" }
polkadot-subsystem-bench = { path = "../../subsystem-bench" }
[[test]]
[[bench]]
name = "availability-recovery-regression-bench"
path = "tests/availability-recovery-regression-bench.rs"
path = "benches/availability-recovery-regression-bench.rs"
harness = false
required-features = ["subsystem-benchmarks"]