Fix try-runtime follow-chain, try-runtime upgrade tuple tests, cli test utils (#13794)

* new test for try-runtime tuple stuff

* fix

* remove development comment

* formatting

* remove todo comment

* follow-chain working test

* refactor common cli testing utils

* fix comment

* revert Cargo.lock changes

* update Cargo.lock

* improve doc comment

* fix error typo

* update Cargo.lock

* feature gate try-runtime test

* build_substrate cli test util

* feature gate follow_chain tests

* move fn start_node to test-utils

* improve test pkg name

* use tokio Child and Command

* remove redundant import

* fix ci

* fix ci

* don't leave hanging processes

* improved child process cleanup

* use existing KillChildOnDrop

* remove redundant comment

* Update test-utils/cli/src/lib.rs

Co-authored-by: Koute <koute@users.noreply.github.com>

---------

Co-authored-by: kianenigma <kian@parity.io>
Co-authored-by: Koute <koute@users.noreply.github.com>
This commit is contained in:
Liam Aharon
2023-04-06 19:49:53 +10:00
committed by GitHub
parent 38f3b053d7
commit 0b3444c51d
19 changed files with 509 additions and 154 deletions
@@ -45,10 +45,10 @@ serde_json = "1.0.85"
zstd = { version = "0.11.2", default-features = false }
[dev-dependencies]
tokio = "1.22.0"
assert_cmd = "2.0.10"
regex = "1.7.3"
substrate-cli-test-utils = { path = "../../../../test-utils/cli" }
tokio = "1.27.0"
[features]
try-runtime = [
"sp-debug-derive/force-debug",
"frame-try-runtime/try-runtime",
]
try-runtime = ["sp-debug-derive/force-debug", "frame-try-runtime/try-runtime"]