Repository navigation
test(database): verify public service errors and deadlines - #97
Merged
Merged
Conversation
nick2781
marked this pull request as ready for review
October 20, 2026 03:10
nick2781
enabled auto-merge
October 20, 2026 03:10
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.
Changes
Add independently runnable C++ acceptance tests for the public coroutine-based Redis and MySQL plugins. The tests exercise authentication failures, MySQL TLS trust rejection, server-observed slow commands, client deadlines and explicit recovery through the public connection pools. Independent observer connections establish that slow commands reached the server before deadline assertions; bounded observations reject duplicate or reappearing slow sessions.
The existing basic service cases remain available. Failure scenarios require explicit runner modes and disposable authenticated services; they do not run against an unspecified database or during ordinary offline regression tests.
Validation
At candidate
a4dd1aaf, integrated with accepted main4c068d85:check-database, TLS-disabled compilation, whole-project clang-format 18 checks, shell syntax andgit diff --checkpassed.These results cover the listed macOS scenarios. Explicit cancellation, server restart, Redis TLS, shared-library unload and deployment capacity remain separate acceptance work. The Linux GCC run exposed an internal compiler error on braced Redis arguments across coroutine awaits. Materialize owning command objects before awaiting; all assertions remain unchanged. The corrected source passed the listed local and real-service checks; Linux GCC and the complete hosted matrix must still pass before merging.