From 6c868f32f20098da00bed2c708aa95744db05299 Mon Sep 17 00:00:00 2001 From: Kenshin Okinaka Date: Sun, 27 Sep 2026 00:36:59 +0900 Subject: [PATCH] test(rds): stop the SAN handshake test printing its own teardown (#4475) --- .../floci/services/rds/proxy/PostgresProtocolHandlerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/io/github/hectorvent/floci/services/rds/proxy/PostgresProtocolHandlerTest.java b/src/test/java/io/github/hectorvent/floci/services/rds/proxy/PostgresProtocolHandlerTest.java index 6c7322d734..9174b65eea 100644 --- a/src/test/java/io/github/hectorvent/floci/services/rds/proxy/PostgresProtocolHandlerTest.java +++ b/src/test/java/io/github/hectorvent/floci/services/rds/proxy/PostgresProtocolHandlerTest.java @@ -410,8 +410,8 @@ class PostgresProtocolHandlerTest { if (session != null) { PostgresProtocolHandler.bridge(session); } - } catch (IOException e) { - throw new RuntimeException(e); + } catch (IOException expected) { + // The test closes proxyClient once the handshake succeeds, which ends authenticate. } });