diff options
author | Loïc Hoguin <[email protected]> | 2020-03-27 15:09:41 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-03-27 15:09:41 +0100 |
commit | 7c11789b446633f81a14af1bda66392bad6a66c8 (patch) | |
tree | abe7859dc2e06014d31a60bb69de5f1e83b350df | |
parent | aacc4fa52b4e8b83255280296f1b8a88147fae3f (diff) | |
download | gun-7c11789b446633f81a14af1bda66392bad6a66c8.tar.gz gun-7c11789b446633f81a14af1bda66392bad6a66c8.tar.bz2 gun-7c11789b446633f81a14af1bda66392bad6a66c8.zip |
Split the gun_SUITE:reply_to test in two cases
To attempt to fix a timetrap_timeout issue occuring sometimes.
I have little confidence about this fixing anything but it will
not hurt either.
-rw-r--r-- | test/gun_SUITE.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl index ca8dab5..b91dbf6 100644 --- a/test/gun_SUITE.erl +++ b/test/gun_SUITE.erl @@ -224,9 +224,12 @@ postpone_request_while_not_connected(_) -> {ok, <<"GET /postponed HTTP/1.1\r\n", _/bits>>} = gen_tcp:recv(ClientSocket, 0, 5000), gun:close(ConnPid). -reply_to(_) -> +reply_to_http(_) -> + doc("The reply_to option allows using a separate process for requests."), + do_reply_to(http). + +reply_to_http2(_) -> doc("The reply_to option allows using a separate process for requests."), - do_reply_to(http), do_reply_to(http2). do_reply_to(Protocol) -> |