Wilfred Spiegelenburg created YUNIKORN-2647:
-----------------------------------------------
Summary: Flaky test TestUpdateNodeCapacity
Key: YUNIKORN-2647
URL: https://issues.apache.org/jira/browse/YUNIKORN-2647
Project: Apache YuniKorn
Issue Type: Bug
Components: test - unit
Reporter: Wilfred Spiegelenburg
Same as we saw in YUNIKORN-2573 the single node update test might fail:
{code:java}
--- 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]{code}
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()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]