Skip to content

Conversation

maVovk
Copy link
Owner

@maVovk maVovk commented Oct 2, 2025

Implement unit-tests for KQP scheduler

Necessary scenarios:

  1. Fair share calculation

Basic:

  • One database, one pool, one query. Demand is under a limit
  • Same tree structure but now demand is over a limit and FairShare should be set depending on flag
  • Check correct weighted distribution between childs
  • More complex structure still passes previous checks

Advanced:

  • Structure and limits are changed between UpdateFairShare calls. Queries are added and deleted

Corner-cases:

  • Empty root, pool, database etc.
  • Zero demand, weight, limit
  • Nodes insertion/deletion

@maVovk maVovk force-pushed the scheduler_tests branch 2 times, most recently from 0fd4d33 to ec4e65c Compare October 9, 2025 13:52
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