aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/http2_SUITE.erl2
-rw-r--r--test/http_SUITE.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/http2_SUITE.erl b/test/http2_SUITE.erl
index d17508a..d3dc51a 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 0325279..a752250 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}