You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
wprzytula
changed the title
DefaultPolict test: change test nodes to be multi shard
DefaultPolicy test: change test nodes to be multi shard
Apr 11, 2024
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.
The text was updated successfully, but these errors were encountered: