mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Correcting TransOpts in send_timeout_close tests
This commit is contained in:
parent
b77dd29133
commit
c35ec096b5
2 changed files with 2 additions and 2 deletions
|
@ -449,8 +449,8 @@ graceful_shutdown_listener_timeout(Config) ->
|
||||||
send_timeout_close(Config) ->
|
send_timeout_close(Config) ->
|
||||||
doc("Check that connections are closed on send timeout."),
|
doc("Check that connections are closed on send timeout."),
|
||||||
TransOpts = #{
|
TransOpts = #{
|
||||||
port => 0,
|
|
||||||
socket_opts => [
|
socket_opts => [
|
||||||
|
{port, 0},
|
||||||
{send_timeout, 100},
|
{send_timeout, 100},
|
||||||
{send_timeout_close, true},
|
{send_timeout_close, true},
|
||||||
{sndbuf, 10}
|
{sndbuf, 10}
|
||||||
|
|
|
@ -779,8 +779,8 @@ graceful_shutdown_listener(Config) ->
|
||||||
send_timeout_close(_Config) ->
|
send_timeout_close(_Config) ->
|
||||||
doc("Check that connections are closed on send timeout."),
|
doc("Check that connections are closed on send timeout."),
|
||||||
TransOpts = #{
|
TransOpts = #{
|
||||||
port => 0,
|
|
||||||
socket_opts => [
|
socket_opts => [
|
||||||
|
{port, 0},
|
||||||
{send_timeout, 100},
|
{send_timeout, 100},
|
||||||
{send_timeout_close, true},
|
{send_timeout_close, true},
|
||||||
{sndbuf, 10}
|
{sndbuf, 10}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue