Skip to content

Conversation

@bootjp
Copy link
Owner

@bootjp bootjp commented Aug 9, 2025

Summary

  • ensure test nodes shut down raft and transport
  • add raft and transport to Node for cleanup
  • wait for gRPC/Redis servers and Raft leader before tests run
  • replace net.DialTimeout usage with DialContext and Dialer timeout
  • use ListenConfig to create gRPC and Redis listeners
  • remove redundant ctx redefinition in test helper
  • connect test clients to leader node to avoid stale reads
  • log transport close errors in test cleanup

Testing

  • go test ./... (fails: TestRedis_follower_redirect_node_set_get_deleted)
  • golangci-lint run

https://chatgpt.com/codex/tasks/task_e_6897642fe61c83249418501609499b8d

@bootjp bootjp merged commit 6629c40 into main Aug 9, 2025
6 of 7 checks passed
@bootjp bootjp deleted the oj8pu0-codex/investigate-raft-node-connection-errors branch August 9, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants