Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make availability-recovery-regression-bench a benchmark
  • Loading branch information
bkchr committed Mar 18, 2024
commit 1e08cc7f96e831cd68af1e5ccb661ab6f13b7056
2 changes: 1 addition & 1 deletion .gitlab/pipeline/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions polkadot/node/network/availability-recovery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down