Skip to content

Add tests for QueryPlan round-robin retry progression and exhaustion #46

@m-szymon

Description

@m-szymon

Round-robin node selection within a single QueryPlan is not directly covered for retry progression and exhaustion.

Include:

  • a failed first node within one request leads the retry to a different node, not the failed one
  • repeated next_node() calls within one plan return each node at most once and None once exhausted

Expected outcome:

  • retry walks the same per-request round-robin QueryPlan (via used_nodes) instead of reusing the failed node
  • single-plan exhaustion returns None after all nodes are consumed

Part of #41.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions