Skip to content

Add tests for resource fungibility plugin#21

Merged
InftyAI-Agent merged 1 commit into
InftyAI:mainfrom
carlory:isvc
Jun 5, 2025
Merged

Add tests for resource fungibility plugin#21
InftyAI-Agent merged 1 commit into
InftyAI:mainfrom
carlory:isvc

Conversation

@carlory

@carlory carlory commented Jun 3, 2025

Copy link
Copy Markdown
Member

No description provided.

@InftyAI-Agent InftyAI-Agent added needs-triage Indicates an issue or PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Jun 3, 2025
@InftyAI-Agent
InftyAI-Agent requested review from kerthcet June 3, 2025 09:26

@kerthcet kerthcet left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Several comments.

Comment thread pkg/plugins/resource_fungibility/resource_fungibility_test.go Outdated

state := framework.NewCycleState()
var gotStatus *framework.Status
if tc.runPreFilter {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What do you mean runPreFilter, to me, every case needs to run the PreFilter, it's the entrypoint.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

updated.

Comment thread pkg/plugins/resource_fungibility/resource_fungibility_test.go Outdated
Comment thread pkg/plugins/resource_fungibility/resource_fungibility_test.go Outdated
@kerthcet

kerthcet commented Jun 3, 2025

Copy link
Copy Markdown
Member

Also please rebase the codebase, then the lint error will disappear, I just upgrade the golangci version.

Signed-off-by: carlory <baofa.fan@daocloud.io>
@kerthcet

kerthcet commented Jun 5, 2025

Copy link
Copy Markdown
Member

/lgtm
/approve

Thanks @carlory

@InftyAI-Agent InftyAI-Agent added lgtm Looks good to me, indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 5, 2025
@kerthcet

kerthcet commented Jun 5, 2025

Copy link
Copy Markdown
Member

/kind cleanup

@InftyAI-Agent InftyAI-Agent added cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Jun 5, 2025
@InftyAI-Agent
InftyAI-Agent merged commit ed9168d into InftyAI:main Jun 5, 2025
20 checks passed
@carlory
carlory deleted the isvc branch June 5, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Looks good to me, indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a label and requires one. needs-triage Indicates an issue or PR lacks a label and requires one.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants