From 13467498393a5b36ec8fe4d9ddecd0820b9686c5 Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Fri, 8 Nov 2024 18:27:55 +0100 Subject: [PATCH] chore(thegraph-core): extend subgraph client integration tests timeout to 30s (#362) Signed-off-by: Lorenzo Delgado --- thegraph-core/tests/it_subgraph_client.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/thegraph-core/tests/it_subgraph_client.rs b/thegraph-core/tests/it_subgraph_client.rs index f5282cd..af92167 100644 --- a/thegraph-core/tests/it_subgraph_client.rs +++ b/thegraph-core/tests/it_subgraph_client.rs @@ -64,7 +64,7 @@ async fn send_subgraph_meta_query_request() { //* When let res = tokio::time::timeout( - Duration::from_secs(10), + Duration::from_secs(30), send_bootstrap_meta_query(&http_client, subgraph_url, Some(&auth_token)), ) .await @@ -108,7 +108,7 @@ async fn send_subgraph_page_query_request() { //* When let res = tokio::time::timeout( - Duration::from_secs(10), + Duration::from_secs(30), send_subgraph_page_query( &http_client, subgraph_url, @@ -163,7 +163,7 @@ async fn client_send_query() { //* When let res = tokio::time::timeout( - Duration::from_secs(10), + Duration::from_secs(30), client.query::(SUBGRAPH_META_QUERY_DOCUMENT), ) .await @@ -215,7 +215,7 @@ async fn send_subgraph_paginated() { //* When let res = tokio::time::timeout( - Duration::from_secs(10), + Duration::from_secs(30), client.paginated_query::(SUBGRAPHS_QUERY_DOCUMENT, 200), ) .await @@ -266,7 +266,7 @@ async fn send_subgraph_paginated_empty_response() { //* When let res = tokio::time::timeout( - Duration::from_secs(10), + Duration::from_secs(30), client.paginated_query::(SUBGRAPHS_QUERY_DOCUMENT, 200), ) .await