From 491ddf58c0e14824a741852fdc522b390b306ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 7 Aug 2019 10:18:04 +0200 Subject: Enable nodelay to a test failing intermittently --- test/gun_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl index 7d0ace8..3d3734b 100644 --- a/test/gun_SUITE.erl +++ b/test/gun_SUITE.erl @@ -315,7 +315,7 @@ reply_to(_) -> do_reply_to(http2). do_reply_to(Protocol) -> - {ok, ListenSocket} = gen_tcp:listen(0, [binary, {active, false}]), + {ok, ListenSocket} = gen_tcp:listen(0, [binary, {active, false}, {nodelay, true}]), {ok, {_, Port}} = inet:sockname(ListenSocket), Self = self(), {ok, Pid} = gun:open("localhost", Port, #{protocols => [Protocol]}), -- cgit v1.2.3