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-3036] fix race prevention regression #1014

Closed
wants to merge 1 commit into from

Conversation

wilfred-s
Copy link
Contributor

What is this PR for?

Re-instate the change from YUNIKORN-1993 that was reversed as part of YUNIKORN-2658. Add more explicit comment to not move the code. Minor cleanup in function naming and fix the function length of removeAllocation (lint fix)

Lint fixes to get make lint to pass locally (*_test.go files)

What type of PR is it?

  • - Bug Fix

What is the Jira issue?

How should this be tested?

Race condition fix that was in 1.5.x adnd regressed in 1.6.0

Re-instate the change from YUNIKORN-1993 that was reversed as part of
YUNIKORN-2658. Add more explicit comment to not move the code.
Minor cleanup in function naming and fix the function length of
removeAllocation (lint fix)

Lint fixes to get make lint to pass locally (*_test.go files)
Copy link

codecov bot commented Mar 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.68%. Comparing base (621c184) to head (baee5a1).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1014   +/-   ##
=======================================
  Coverage   82.68%   82.68%           
=======================================
  Files          98       98           
  Lines       15673    15676    +3     
=======================================
+ Hits        12959    12962    +3     
  Misses       2439     2439           
  Partials      275      275           

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

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.

@manirajv06
Copy link
Contributor

looks good.

We need to check the reason for e2e test failure, that too only for K8s 1.32.0

@wilfred-s
Copy link
Contributor Author

I looked at the last PRs and all fail with the same mention around the scheduler-interface not being available for download.

craigcondit pushed a commit that referenced this pull request Mar 6, 2025
Re-instate the change from YUNIKORN-1993 that was reversed as part of
YUNIKORN-2658. Add more explicit comment to not move the code.
Minor cleanup in function naming and fix the function length of
removeAllocation (lint fix)

Closes: #1014

Signed-off-by: Craig Condit <[email protected]>
(cherry picked from commit 9eee423)
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