You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/06/04 06:34:00 UTC

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

     [ https://issues.apache.org/jira/browse/YUNIKORN-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated YUNIKORN-2647:
-------------------------------------
    Labels: newbie pull-request-available  (was: newbie)

> 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
>            Assignee: Tseng Hsi-Huang
>            Priority: Minor
>              Labels: newbie, pull-request-available
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org