mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-25 11:45:47 +00:00
Add async test helper to timeout and provide a task_executor automatically (#6651)
* Initial commit Forked at:74655edebcParent branch: origin/master * Add async test helper to timeout and provide a task_executor automatically * simplify error message to avoid difference between CI and locally * forgot env var * Use runtime env var instead of build env var * Rename variable to SUBSTRATE_TEST_TIMEOUT * CLEANUP Forked at:74655edebcParent branch: origin/master * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Re-export from test-utils * Default value to 120 * fix wrong crate in ci * Revert "Default value to 120" This reverts commit 8e458717078b242ffce7d3c4f66241d76f075125. * Fix version * WIP Forked at:74655edebcParent branch: origin/master * WIP Forked at:74655edebcParent branch: origin/master * WIP Forked at:74655edebcParent branch: origin/master * remove feature flag * fix missing dependency * CLEANUP Forked at:74655edebcParent branch: origin/master * fix test * Removed autotests=false * Some doc... * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * WIP Forked at:74655edebcParent branch: origin/master * WIP Forked at:74655edebcParent branch: origin/master * Update test-utils/src/lib.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -263,6 +263,7 @@ test-linux-stable: &test-linux
|
||||
script:
|
||||
# this job runs all tests in former runtime-benchmarks, frame-staking and wasmtime tests
|
||||
- time cargo test --workspace --locked --release --verbose --features runtime-benchmarks --manifest-path bin/node/cli/Cargo.toml
|
||||
- WASM_BUILD_NO_COLOR=1 SUBSTRATE_TEST_TIMEOUT=1 time cargo test -p substrate-test-utils --release --verbose --locked -- --ignored timeout
|
||||
- sccache -s
|
||||
|
||||
unleash-check:
|
||||
@@ -727,7 +728,7 @@ deploy-kubernetes-alerting-rules:
|
||||
RULES: .maintain/monitoring/alerting-rules/alerting-rules.yaml
|
||||
script:
|
||||
- echo "deploying prometheus alerting rules"
|
||||
- kubectl -n ${NAMESPACE} patch prometheusrule ${PROMETHEUSRULE}
|
||||
- kubectl -n ${NAMESPACE} patch prometheusrule ${PROMETHEUSRULE}
|
||||
--type=merge --patch "$(sed 's/^/ /;1s/^/spec:\n/' ${RULES})"
|
||||
only:
|
||||
refs:
|
||||
|
||||
Reference in New Issue
Block a user