Repository navigation
test(oracle): retry a transient fault in the refused-connection test's job read - #45
Merged
Merged
Conversation
…s job read The test reads the job's state through the store's own pool every 5 ms. When the forwarder drops every live connection, that read can be in flight or get a dead pooled session, and it throws ORA-12537. The store calls that fault transient, so the read now retries it as any caller would. The test still requires the group to run the job and not halt. It failed 4 of 9 runs alone before, on main ad5b0ab too, and passes 10 of 10 after.
Contributor
Author
|
Ran again on this branch (main 34aefd4 plus the fix) against gvenzl/oracle-free:23-slim: |
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.
Summary
OracleRefusedConnectionRecoveryTestsfailed 4 of 9 runs alone, on main too.The test polls the job's state through the store's own connection pool every 5 ms. When the forwarder drops every live connection, that read can be in flight or get a dead pooled session. It then throws ORA-12537, and the test fails before the Worker Group recovers.
The store classifies that fault as transient. The read now retries it, as any caller would. The test still requires the Worker Group to run the job and not halt.
Test-only change. After the fix, the test passed 10 of 10 runs alone.
Checklist
dotnet testpasses.dotnet buildis warning-free.