mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +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:
@@ -0,0 +1,5 @@
|
||||
error: the test function accepts only one argument of type sc_service::TaskExecutor
|
||||
--> $DIR/missing-func-parameter.rs:20:1
|
||||
|
|
||||
20 | async fn missing_func_parameter() {
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
Reference in New Issue
Block a user