Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[YUNIKORN-1957] Add e2e tests for user and group limits with wildcard #909

Closed

Conversation

rrajesh-cloudera
Copy link
Contributor

This PR introduces user and group limit test enhancements in the user_group_limit_test.go file. It adds new test cases to verify the behavior of the scheduler when user and group limits are set and updated. The tests cover scenarios where the user and group limits are exceeded, not defined, and changed. The PR also includes tests for wildcard users and group limits. These enhancements ensure that the scheduler correctly handles user and group limits in various scenarios.

What type of PR is it?

  • - Bug Fix
  • - Improvement
  • - Feature
  • - Documentation
  • - Hot Fix
  • - Refactoring

Todos

  • - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/YUNIKORN-1957

How should this be tested?

Screenshots (if appropriate)

Questions:

  • - The licenses files need update.
  • - There is breaking changes for older versions.
  • - It needs documentation.

Copy link
Contributor

@pbacsko pbacsko left a comment

Choose a reason for hiding this comment

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

Please fix the linter problems. You can check locally by running "make lint".

@rrajesh-cloudera
Copy link
Contributor Author

Please fix the linter problems. You can check locally by running "make lint".

Hi @pbacsko , Fixed the Linter.

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.18%. Comparing base (58c0c36) to head (7f70e88).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #909   +/-   ##
=======================================
  Coverage   68.18%   68.18%           
=======================================
  Files          70       70           
  Lines        7606     7606           
=======================================
  Hits         5186     5186           
- Misses       2212     2213    +1     
+ Partials      208      207    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@pbacsko pbacsko left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@craigcondit craigcondit left a comment

Choose a reason for hiding this comment

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

+1 LGTM. Rebased on master to fix merge conflicts.

@craigcondit craigcondit changed the title [YUNIKORN-1126] Added E2E Tests for User and Group Limits with wildcard [YUNIKORN-1957] Add e2e tests for user and group limits with wildcard Sep 6, 2024
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.

3 participants