Skip to content

Commit

Permalink
Make availability-recovery-regression-bench a benchmark (paritytech…
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored and dharjeezy committed Mar 24, 2024
1 parent 608b206 commit 0f20ed9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 0f20ed9

Please sign in to comment.