From 9d0115af78335a99dd85f2bec94b1b8884b1f3d9 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Wed, 13 Nov 2024 15:41:43 +0100 Subject: [PATCH] fix compile error --- apollo-router/tests/integration/supergraph.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apollo-router/tests/integration/supergraph.rs b/apollo-router/tests/integration/supergraph.rs index ce2382d2db..6ce3173781 100644 --- a/apollo-router/tests/integration/supergraph.rs +++ b/apollo-router/tests/integration/supergraph.rs @@ -79,7 +79,7 @@ async fn test_supergraph_allow_to_change_http1_max_buf_size() -> Result<(), BoxE router.assert_started().await; let mut headers = HashMap::new(); - headers.insert("test-header", "x".repeat(1048576 + 1)); + headers.insert("test-header".to_string(), "x".repeat(1048576 + 1)); let (_trace_id, response) = router .execute_query_with_headers(&json!({ "query": "{ __typename }"}), headers) @@ -105,7 +105,7 @@ async fn test_supergraph_errors_on_http1_header_that_does_not_fit_inside_buffer( router.assert_started().await; let mut headers = HashMap::new(); - headers.insert("test-header", "x".repeat(1048576 + 1)); + headers.insert("test-header".to_string(), "x".repeat(1048576 + 1)); let (_trace_id, response) = router .execute_query_with_headers(&json!({ "query": "{ __typename }"}), headers)