Skip to content

add leader failover reconnection tests#475

Draft
w1am wants to merge 1 commit intomasterfrom
w1am/test-leader-failover
Draft

add leader failover reconnection tests#475
w1am wants to merge 1 commit intomasterfrom
w1am/test-leader-failover

Conversation

@w1am
Copy link
Copy Markdown
Collaborator

@w1am w1am commented Apr 6, 2026

Cover reconnection behavior for both gRPC (write) and Rust bridge (read) code paths during leader failover scenarios including node kill/resurrect, NotLeader error recovery, concurrent operations, and repeated reads with requiresLeader.

test: fix leader failover tests for dual-connection architecture

- Remove redundant write reconnection test (covered by UnavailableError.test.ts)
- Remove test.only marker
- Remove customer name references from comments
- Fix "readStream after kill" test with retry loop for Rust client stabilization
- Fix "mixed read/write" test to trigger NotLeader on both gRPC and bridge paths
@w1am w1am force-pushed the w1am/test-leader-failover branch from e72d149 to 1170335 Compare April 9, 2026 09:24
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