Skip to content

Commit

Permalink
chore(thegraph-core): extend subgraph client integration tests timeou…
Browse files Browse the repository at this point in the history
…t to 30s (#362)

Signed-off-by: Lorenzo Delgado <[email protected]>
  • Loading branch information
LNSD authored Nov 8, 2024
1 parent 836466f commit 1346749
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions thegraph-core/tests/it_subgraph_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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::<SubgraphMetaQueryResponse>(SUBGRAPH_META_QUERY_DOCUMENT),
)
.await
Expand Down Expand Up @@ -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::<Subgraph>(SUBGRAPHS_QUERY_DOCUMENT, 200),
)
.await
Expand Down Expand Up @@ -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::<Subgraph>(SUBGRAPHS_QUERY_DOCUMENT, 200),
)
.await
Expand Down

0 comments on commit 1346749

Please sign in to comment.