From 7c11789b446633f81a14af1bda66392bad6a66c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 27 Mar 2020 15:09:41 +0100 Subject: 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. --- test/gun_SUITE.erl | 7 +++++-- 1 file 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) -> -- cgit v1.2.3