Files
floci/src
Andre Kurait 4c71f6d446 test(rds): own authentication failures and wait before socket cleanup (#9650)
The PostgreSQL authentication fixture could close its local proxy socket after reading ReadyForQuery while the authenticator was still resetting that socket's timeout, and the SocketException escaped a raw virtual thread, landing under whichever test was waiting. ProxyTestAuthentication now runs authentication and bridging through the owned ProxyTestTask, completing a future once authentication finishes, so each test waits for it before closing the socket and a worker's failure reaches the test that started it. Every raw authentication thread in PostgresProtocolHandlerTest goes through these helpers, and the test listeners bind to loopback through one loopbackServerSocket helper.

Signed-off-by: Andre Kurait <AndreKurait@gmail.com>
2026-11-28 09:58:55 -04:00
..