Skip to content

test(oracle): retry a transient fault in the refused-connection test's job read - #45

Merged
pdevito3 merged 1 commit into
mainfrom
fix/oracle-refused-connection-flake
Nov 27, 2026
Merged

pdevito3 merged 1 commit into
mainfrom
fix/oracle-refused-connection-flake

Conversation

@pdevito3

Copy link
Copy Markdown
Contributor

Summary

OracleRefusedConnectionRecoveryTests failed 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

  • I was invited to submit this contribution.
  • I have signed the Contributor License Agreement.
  • The change is surgical - it touches only what's necessary.
  • Public members of shipped assemblies have complete XML documentation.
  • I added or updated tests, and dotnet test passes.
  • dotnet build is warning-free.

…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.
@pdevito3

Copy link
Copy Markdown
Contributor Author

Ran again on this branch (main 34aefd4 plus the fix) against gvenzl/oracle-free:23-slim: OracleRefusedConnectionRecoveryTests passed 10 of 10 runs alone, and the full Oracle suite (Category!=Soak) passed 355 of 355.

@pdevito3
pdevito3 merged commit f22252c into main Nov 27, 2026
2 checks passed
@pdevito3
pdevito3 deleted the fix/oracle-refused-connection-flake branch November 27, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant