Skip to content
Commit 5b1a230d authored by Alexandru Gheorghe's avatar Alexandru Gheorghe Committed by GitHub
Browse files

metrics: tests: Fix flaky runtime_can_publish_metrics (#7279)

* metrics: tests: Fix flaky runtime_can_publish_metrics

When an re-org happens wait_for_blocks(2) would actually exit after the second
import of blocks 1, so the conditions for the metric to exist won't be met
hence the occasional test failure.

More details in:
  https://github.com/paritytech/polkadot/issues/7267



Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>

* metrics: tests: Cleanup un-needed box pin

Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>

---------

Signed-off-by: default avatarAlexandru Gheorghe <[email protected]>
parent 86564f1d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment