From 78ee1a2a8111c0c4a7398c49086107e9de9c32cf Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sun, 27 Oct 2024 12:11:48 +0100 Subject: [PATCH] Fix timeout message in client_test.go Updated the skip message to accurately reflect the timeout reason when closing the test server connection. This improves the clarity of the error reporting in tests. --- client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client_test.go b/client_test.go index cebadc5..46c7dcd 100644 --- a/client_test.go +++ b/client_test.go @@ -2581,7 +2581,7 @@ func TestClient_Send(t *testing.T) { if err := client.Close(); err != nil { var netErr net.Error if errors.As(err, &netErr) && netErr.Timeout() { - t.Skip("failed to connect to the test server due to timeout") + t.Skip("failed to close the test server connection due to timeout") } t.Errorf("failed to close client: %s", err) }