mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 12:11:02 +00:00
Make availability-recovery-regression-bench a benchmark (#3741)
Closes: https://github.com/paritytech/polkadot-sdk/issues/3704
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user