File 2595-inets-Fix-profile-used-in-persistent_connection-test.patch of Package erlang

From cef626165bc62edcc78c3be0c2cb107ae961b805 Mon Sep 17 00:00:00 2001
From: Luca Favatella <luca.favatella@erlang-solutions.com>
Date: Fri, 16 Mar 2018 13:01:43 +0000
Subject: [PATCH 5/9] inets: Fix profile used in persistent_connection tests in
 httpc_SUITE

It looks like a typo, though I did not experience impact of this on
tests.
---
 lib/inets/test/httpc_SUITE.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/inets/test/httpc_SUITE.erl b/lib/inets/test/httpc_SUITE.erl
index 38705372c9..c8eaa4b3df 100644
--- a/lib/inets/test/httpc_SUITE.erl
+++ b/lib/inets/test/httpc_SUITE.erl
@@ -233,7 +233,7 @@ init_per_testcase(pipeline, Config) ->
 init_per_testcase(persistent_connection, Config) ->
     inets:start(httpc, [{profile, persistent}]),
     httpc:set_options([{keep_alive_timeout, 50000},
-		       {max_keep_alive_length, 3}], persistent_connection),
+		       {max_keep_alive_length, 3}], persistent),
 
     Config;
 init_per_testcase(wait_for_whole_response, Config) ->
-- 
2.16.3

openSUSE Build Service is sponsored by