Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Goncharov authored and Ivan Goncharov committed Nov 13, 2024
1 parent 199fca0 commit 9d0115a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apollo-router/tests/integration/supergraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 9d0115a

Please sign in to comment.