testing: Chagne default timeout to 6 seconds

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile
2024-03-05 18:03:57 +02:00
parent fbe2a7498b
commit 30073d3c6b
@@ -17,7 +17,7 @@ pub fn subxt_test(attr: TokenStream, item: TokenStream) -> TokenStream {
Ok(subxt_attr) => subxt_attr,
Err(err) => return err.into_compile_error().into(),
};
let timeout_duration = subxt_attr.timeout.unwrap_or(60 * 5);
let timeout_duration = subxt_attr.timeout.unwrap_or(60 * 6);
let func: syn::ItemFn = match syn::parse(item) {
Ok(func) => func,