Remove sleep from tests (#4639)

* Remove sleep and use polkadot test service

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* updates

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Fix other tests

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Run metrics tests separately

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* copy some substrate utilities

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* update runtime metric test

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Remove sleep from cli tests

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* cargo

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Polkadot companion for Substrate#10463 (#4519)

* Grandpa and Beefy protocol names include chain id

Signed-off-by: acatangiu <adrian@parity.io>

* chain_spec: include fork id

* use simplified protocol name

* fix after merge

* avoid using hash default, even for protocol names

* update lockfile for substrate

Co-authored-by: parity-processbot <>

* configuration: Update upgrade validation delay doc (#4662)

* typo

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* review feedback

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* cargo lock

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* use testnet profile

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Don't run with runtime-benchmark feature

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* conditional compile up one level

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

Co-authored-by: Sergei Shulepov <sergei@parity.io>
This commit is contained in:
sandreim
2022-01-10 13:00:46 +02:00
committed by GitHub
parent c342e99261
commit 0da05cac26
16 changed files with 234 additions and 105 deletions
+32
View File
@@ -4433,6 +4433,19 @@ dependencies = [
"memoffset",
]
[[package]]
name = "node-primitives"
version = "2.0.0"
source = "git+https://github.com/paritytech/substrate?branch=master#c0f688d2c957d7a816b9abfad70d7d89a094996c"
dependencies = [
"frame-system",
"parity-scale-codec",
"scale-info",
"sp-application-crypto",
"sp-core",
"sp-runtime",
]
[[package]]
name = "nodrop"
version = "0.1.14"
@@ -5898,9 +5911,12 @@ dependencies = [
"assert_cmd",
"color-eyre",
"nix",
"node-primitives",
"parity-util-mem",
"polkadot-cli",
"remote-externalities",
"tempfile",
"tokio",
]
[[package]]
@@ -6542,10 +6558,15 @@ dependencies = [
"nix",
"parity-scale-codec",
"polkadot-primitives",
"polkadot-test-service",
"prometheus-parse",
"sc-cli",
"sc-client-api",
"sc-service",
"sc-tracing",
"sp-keyring",
"substrate-prometheus-endpoint",
"substrate-test-utils",
"tempfile",
"tokio",
"tracing",
@@ -7576,6 +7597,17 @@ dependencies = [
"thiserror",
]
[[package]]
name = "prometheus-parse"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c996f3caea1c51aa034c0d2dfd8447a12c555f4567b02677ef8a865ac4cce712"
dependencies = [
"chrono",
"lazy_static",
"regex",
]
[[package]]
name = "prost"
version = "0.9.0"