Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
Same as we saw in YUNIKORN-2573 the single node update test might fail:
--- FAIL: TestUpdateNodeCapacity (0.03s) operation_test.go:446: Expected partition resource map[memory:100000000 vcore:20000], doesn't match with actual partition resource map[memory:100000000 vcore:20000]
We calculate the delta resources when updating node capacity with that delta we update resources in partition.
The test would fail with following order same as for multiple nodes
node.SetCapacity() -> waitForAvailableNodeResource() -> partitionInfo.GetTotalPartitionResource() -> partition.updatePartitionResource()
Attachments
Issue Links
- is related to
-
YUNIKORN-2573 Flaky test TestUpdateNodeCapacityWithMultipleNodes
- Resolved
- links to