From 662f6af98269f78460cf6749f49f241156520e13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Svensson?= Date: Thu, 16 May 2024 12:23:15 +0200 Subject: [PATCH] Correcting TransOpts in send_timeout_close tests --- test/http2_SUITE.erl | 2 +- test/http_SUITE.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/http2_SUITE.erl b/test/http2_SUITE.erl index d17508a3a..d3dc51aa1 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 0325279db..a75225067 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}