aboutsummaryrefslogtreecommitdiffstats
path: root/test/pool_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/pool_SUITE.erl')
-rw-r--r--test/pool_SUITE.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pool_SUITE.erl b/test/pool_SUITE.erl
index a48b75d..7643368 100644
--- a/test/pool_SUITE.erl
+++ b/test/pool_SUITE.erl
@@ -374,3 +374,10 @@ reconnect_h2(Config) ->
end || {async, StreamRef} <- Streams2].
%% @todo reconnect_ws
+
+stop_pool(Config) ->
+ doc("Confirm the pool can be used for HTTP/1.1 connections."),
+ Port = config(port, Config),
+ {ok, ManagerPid} = gun_pool:start_pool("localhost", Port, #{scope => ?FUNCTION_NAME}),
+ gun_pool:await_up(ManagerPid),
+ gun_pool:stop_pool("localhost", Port, #{scope => ?FUNCTION_NAME}).