Skip to content

Conversation

@ericpromislow
Copy link
Contributor

These are the African country/capital objects with allocatable metric fields.

These are the African country/capital objects with allocatable metric fields.
@ericpromislow ericpromislow requested a review from a team as a code owner January 7, 2026 21:32
Comment on lines +63 to +86
# filter on original cpu
- query: filter=status.allocatable.cpu=7000m
expected:
- default/rwanda # 7000m

# filter on processed cpu
- query: filter=status.allocatable.cpuRaw=14.25
expected:
- default/angola # 14250m

# filter on original memory
- query: filter=status.allocatable.memory=12Mi
expected:
- default/botswana # 12Mi

# filter on processed memory
- query: filter=status.allocatable.memoryRaw=4194304
expected:
- default/burundi # 4Mi

# filter on pods
- query: filter=status.allocatable.pods=20
expected:
- default/mali
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the test framework we ended up splitting sorting and filtering tests. Sorting test would test the order while filtering test would test the existence in the result. Though in both tests we allow pretty much any kind of query.

Should we split this test as well or keep it local to what we're testing 🤔

- default/burundi
- default/mali
- default/rwanda
- query: sort=status.clusterName,metadata.name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious to know why this needed to be removed since this PR doesn't contain any code changes. Was this flaky on your side?

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.

2 participants