From dace33ddcc3d6f5c0cb1319c614a55945c3d8c4b Mon Sep 17 00:00:00 2001 From: Andre Kurait Date: Thu, 22 Oct 2026 21:39:11 -0500 Subject: [PATCH] test(dsql): isolate the invalid startup header refusal (#6316) Send only the invalid length prefix so the early-refusal assertion does not depend on unread trailing bytes at socket close. Preserve the strict EOF assertion. Signed-off-by: Andre Kurait --- .../floci/services/dsql/DsqlDataPlaneIntegrationTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/io/github/hectorvent/floci/services/dsql/DsqlDataPlaneIntegrationTest.java b/src/test/java/io/github/hectorvent/floci/services/dsql/DsqlDataPlaneIntegrationTest.java index 0d32d68960..c7871a90ab 100644 --- a/src/test/java/io/github/hectorvent/floci/services/dsql/DsqlDataPlaneIntegrationTest.java +++ b/src/test/java/io/github/hectorvent/floci/services/dsql/DsqlDataPlaneIntegrationTest.java @@ -223,7 +223,6 @@ class DsqlDataPlaneIntegrationTest { } try (Socket socket = new Socket("127.0.0.1", endpoint.port())) { socket.getOutputStream().write(PostgresWire.int32(7)); - socket.getOutputStream().write(new byte[3]); assertEquals(-1, socket.getInputStream().read()); } }