diff --git a/test/http2_SUITE.erl b/test/http2_SUITE.erl index d17508a3..d3dc51aa 100644 --- a/test/http2_SUITE.erl +++ b/test/http2_SUITE.erl @@ -449,8 +449,8 @@ graceful_shutdown_listener_timeout(Config) -> send_timeout_close(Config) -> doc("Check that connections are closed on send timeout."), TransOpts = #{ - port => 0, socket_opts => [ + {port, 0}, {send_timeout, 100}, {send_timeout_close, true}, {sndbuf, 10} diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl index 0325279d..a7522506 100644 --- a/test/http_SUITE.erl +++ b/test/http_SUITE.erl @@ -779,8 +779,8 @@ graceful_shutdown_listener(Config) -> send_timeout_close(_Config) -> doc("Check that connections are closed on send timeout."), TransOpts = #{ - port => 0, socket_opts => [ + {port, 0}, {send_timeout, 100}, {send_timeout_close, true}, {sndbuf, 10}