Skip to content
Unverified Commit 367f395c authored by Clara van Staden's avatar Clara van Staden Committed by GitHub
Browse files

Snowbridge benchmark tests fix (#3424)

When running `cargo test -p bridge-hub-rococo-runtime --features
runtime-benchmarks`, two of the Snowbridge benchmark tests fails. The
reason is that when the runtime-benchmarks feature is enabled, the
`NoopMessageProcessor` message processor is used. The Snowbridge tests
rely on the outbound messages to be processed using the message queue,
so that we can check the expected nonce and block digest logs.

This PR changes the conditional compilation to only use
`NoopMessageProcessor` when compiling the executable to run benchmarks
against, not when running tests.

---------

Co-authored-by: claravanstaden <Cats 4 life!>
parent ad01d70f
Pipeline #449655 failed with stages
in 1 hour, 29 minutes, and 44 seconds