From 5f8080e8075f158a9510a3b925387276563b3b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 9 Jan 2023 13:22:18 +0100 Subject: Tweak some test outputs --- test/gun_SUITE.erl | 2 +- test/send_errors_SUITE.erl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test') 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, #{ -- cgit v1.2.3