Skip to content

Commit

Permalink
fix tests
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 9344ef0 commit c0bac69
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions apollo-router/tests/integration/supergraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ async fn test_supergraph_allow_to_change_http1_max_headers() -> Result<(), BoxEr
}

#[tokio::test(flavor = "multi_thread")]
async fn test_supergraph_allow_to_change_http1_max_buf_size() -> Result<(), BoxError> {
async fn test_supergraph_errors_on_http1_header_that_does_not_fit_inside_buffer() -> Result<(), BoxError> {
let mut router = IntegrationTest::builder()
.config(
r#"
supergraph:
experimental_http1_max_buf_size: 1000000
experimental_http1_max_buf_size: 100000
"#,
)
.build()
Expand All @@ -89,8 +89,7 @@ async fn test_supergraph_allow_to_change_http1_max_buf_size() -> Result<(), BoxE
}

#[tokio::test(flavor = "multi_thread")]
async fn test_supergraph_errors_on_http1_header_that_does_not_fit_inside_buffer(
) -> Result<(), BoxError> {
async fn test_supergraph_allow_to_change_http1_max_buf_size() -> Result<(), BoxError> {
let mut router = IntegrationTest::builder()
.config(
r#"
Expand Down

0 comments on commit c0bac69

Please sign in to comment.