aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-01-09 13:22:18 +0100
committerLoïc Hoguin <[email protected]>2023-01-09 13:22:18 +0100
commit5f8080e8075f158a9510a3b925387276563b3b05 (patch)
tree1b25193678010755382228ce043b6a974ab65dcb /test
parentc3408e605e7707481d64df2d55099249ac21542c (diff)
downloadgun-5f8080e8075f158a9510a3b925387276563b3b05.tar.gz
gun-5f8080e8075f158a9510a3b925387276563b3b05.tar.bz2
gun-5f8080e8075f158a9510a3b925387276563b3b05.zip
Tweak some test outputs
Diffstat (limited to 'test')
-rw-r--r--test/gun_SUITE.erl2
-rw-r--r--test/send_errors_SUITE.erl8
2 files changed, 5 insertions, 5 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl
index 6501355..53fdb46 100644
--- a/test/gun_SUITE.erl
+++ b/test/gun_SUITE.erl
@@ -636,7 +636,7 @@ transform_header_name(_) ->
unix_socket_connect(_) ->
case os:type() of
{win32, _} ->
- doc("Unix Domain Sockets are not available on Windows.");
+ {skip, "Unix Domain Sockets are not available on Windows."};
_ ->
do_unix_socket_connect()
end.
diff --git a/test/send_errors_SUITE.erl b/test/send_errors_SUITE.erl
index 7a0fd02..e735c83 100644
--- a/test/send_errors_SUITE.erl
+++ b/test/send_errors_SUITE.erl
@@ -31,7 +31,7 @@ groups() ->
init_per_suite(Config) ->
case os:type() of
{_, linux} -> Config;
- _ -> {skip, "linux only due to socket juggling"}
+ _ -> {skip, "This test suite is Linux-only due to socket juggling."}
end.
end_per_suite(_) -> ok.
@@ -39,7 +39,7 @@ end_per_suite(_) -> ok.
%% Tests.
http2_send_request_fail(_) ->
- doc("Handle send failures of requests in http2."),
+ doc("Handle send failures of requests in HTTP/2."),
{ok, ListenSocket} = gen_tcp:listen(0, [binary, {active, false}]),
{ok, {_, Port}} = inet:sockname(ListenSocket),
%% Socket buffers needs to be smaller than local_window/ConnWindow
@@ -67,7 +67,7 @@ http2_send_request_fail(_) ->
end.
http2_send_ping_fail(_) ->
- doc("Handle send failures of ping in http2."),
+ doc("Handle send failures of ping in HTTP/2."),
{ok, ListenSocket} = gen_tcp:listen(0, [binary, {active, false}]),
{ok, {_, Port}} = inet:sockname(ListenSocket),
{ok, Pid} = gun:open("localhost", Port, #{
@@ -94,7 +94,7 @@ http2_send_ping_fail(_) ->
end.
http2_send_ping_ack_fail(_) ->
- doc("Handle send failures of ping ack in http2."),
+ doc("Handle send failures of ping ack in HTTP/2."),
{ok, ListenSocket} = gen_tcp:listen(0, [binary, {active, false}]),
{ok, {_, Port}} = inet:sockname(ListenSocket),
{ok, Pid} = gun:open("localhost", Port, #{