Skip to content

armgit / floci

Public Imported from GitHub
0

Light, fluffy, and always free - The AWS Local Emulator alternative

test(dsql): isolate the invalid startup header refusal (#6316)

Andre Kuraitdace33ddcc3d
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());
}
}