Repository navigation
Reduce OraclePoolTest pressure on the test database - #1784
Merged
tsegismont merged 1 commit intoNov 6, 2026
Merged
tsegismont merged 1 commit into
tsegismont merged 1 commit into
Conversation
The nightly Oracle build failed with 14 errors, all of them ORA-12516 ("Listener does not have a protocol handler for TCP ready or registered for service freepdb1").
An idle `gvenzl/oracle-free:23-slim-faststart` instance already uses about 90 of the 200 server processes it allows.
`testPool` and `testQuery` each opened a pool of 40 connections, which pushed the whole suite to a peak of ~130 processes.
When utilization gets close to the limit, PMON marks the dedicated server handler as blocked, and the listener rejects every connection until it refreshes, so the test classes running afterwards failed too.
Lower the pool size to 16, which brings the peak down to ~108 processes.
Also report only the first unexpected failure in `testUpdateWithParams`.
Requests still in flight when the pool is closed fail as well, and asserting on each of the 1000 of them turned a single failure into a 4.6 MB job log.
In a reproduction of the failure, this brings the output down from 35621 lines to 456.
Assisted-by: Anthropic Claude (claude-opus-5)
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
tsegismont
added a commit
that referenced
this pull request
Nov 6, 2026
The nightly Oracle build failed with 14 errors, all of them ORA-12516 ("Listener does not have a protocol handler for TCP ready or registered for service freepdb1").
An idle `gvenzl/oracle-free:23-slim-faststart` instance already uses about 90 of the 200 server processes it allows.
`testPool` and `testQuery` each opened a pool of 40 connections, which pushed the whole suite to a peak of ~130 processes.
When utilization gets close to the limit, PMON marks the dedicated server handler as blocked, and the listener rejects every connection until it refreshes, so the test classes running afterwards failed too.
Lower the pool size to 16, which brings the peak down to ~108 processes.
Also report only the first unexpected failure in `testUpdateWithParams`.
Requests still in flight when the pool is closed fail as well, and asserting on each of the 1000 of them turned a single failure into a 4.6 MB job log.
In a reproduction of the failure, this brings the output down from 35621 lines to 456.
Assisted-by: Anthropic Claude (claude-opus-5)
(cherry picked from commit 0251bd4)
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The nightly Oracle build failed with 14 errors, all of them ORA-12516 ("Listener does not have a protocol handler for TCP ready or registered for service freepdb1").
An idle
gvenzl/oracle-free:23-slim-faststartinstance already uses about 90 of the 200 server processes it allows.testPoolandtestQueryeach opened a pool of 40 connections, which pushed the whole suite to a peak of ~130 processes. When utilization gets close to the limit, PMON marks the dedicated server handler as blocked, and the listener rejects every connection until it refreshes, so the test classes running afterwards failed too.Lower the pool size to 16, which brings the peak down to ~108 processes.
Also report only the first unexpected failure in
testUpdateWithParams. Requests still in flight when the pool is closed fail as well, and asserting on each of the 1000 of them turned a single failure into a 4.6 MB job log. In a reproduction of the failure, this brings the output down from 35621 lines to 456.Assisted-by: Anthropic Claude (claude-opus-5)