[ 
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-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to