oauth: Add unit tests for multiplexer handling
Jacob Champion <jchampion@postgresql.org>
Author:
Jacob Champion <jchampion@postgresql.org>
Date: 2025-08-08T15:45:01Z
Releases:
19 (unreleased)
oauth: Add unit tests for multiplexer handling To better record the internal behaviors of oauth-curl.c, add a unit test suite for the socket and timer handling code. This is all based on TAP and driven by our existing Test::More infrastructure. Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/CAOYmi+nDZxJHaWj9_jRSyf8uMToCADAmOfJEggsKW-kY7aUwHA@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq-oauth/Makefile | modified | +14 −0 |
| src/interfaces/libpq-oauth/meson.build | modified | +35 −0 |
| src/interfaces/libpq-oauth/t/001_oauth.pl | added | +24 −0 |
| src/interfaces/libpq-oauth/test-oauth-curl.c | added | +527 −0 |
Discussion
- [PATCH] OAuth: fix performance bug with stuck multiplexer events 25 messages · 2025-06-26 → 2026-04-07