Skip to content

DefaultPolicy test: change test nodes to be multi shard #973

@Lorak-mmk

Description

@Lorak-mmk

Currently tests for DefaultPolicy use nodes with 1 shard. This means we have no way to test if the policy returns correct shards, not only correct nodes.
We should add a constructor for Node (accessible only by tests) to allow us to specify shard amount and modify the tests to verify returned shards too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions