[
https://issues.apache.org/jira/browse/YUNIKORN-3398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dale Richardson resolved YUNIKORN-3398.
---------------------------------------
Resolution: Fixed
> Fix unit test failures due to RollbackAllocation behavior conflict
> ------------------------------------------------------------------
>
> Key: YUNIKORN-3398
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3398
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler
> Reporter: weichen lai
> Assignee: Dale Richardson
> Priority: Major
>
> Running `make test` fails due to two test failures in `pkg/scheduler/objects`
> related to `RollbackAllocation`:
>
> application_property_test.go:62: assertion failed: totalGhostRollbacks is
> <= 0: no seed ever rolled back an ask missing from sa.requests
> --- FAIL: TestApplicationPropertyFuzzHistogram (1.50s)
> application_test.go:2823: assertion failed: error is not nil: failed to
> locate ask with key alloc-1 for rollback: rollback of the confirmed
> allocation should have succeeded
> --- FAIL: TestRollbackAllocationAskNotTracked (0.00s)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]