You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2024/05/29 07:58:00 UTC

[jira] [Created] (YUNIKORN-2647) Flaky test TestUpdateNodeCapacity

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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org