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

Peter Bacsko resolved YUNIKORN-2167.
------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

> Flaky test TestApplicationHistoryTracking
> -----------------------------------------
>
>                 Key: YUNIKORN-2167
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2167
>             Project: Apache YuniKorn
>          Issue Type: Test
>          Components: test - unit
>            Reporter: PoAn Yang
>            Assignee: PoAn Yang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> We start webservice in a goroutine 
> [https://github.com/apache/yunikorn-core/blob/db70ca6e0ed46eb93362fc1bf48545781146f534/pkg/webservice/webservice.go#L71-L77].
> Sometime, client sends request before webservice is running (client.GetEvents 
> faster than webservice in ms.Init) 
> [https://github.com/apache/yunikorn-core/blob/db70ca6e0ed46eb93362fc1bf48545781146f534/pkg/scheduler/tests/application_tracking_test.go#L45-L50].
> In this case, we will get `application_tracking_test.go:51: assertion failed: 
> error is not nil: Get "http://localhost:9080/ws/v1/events/batch": dial tcp 
> [::1]:9080: connect: connection refused`.
>  
> CI reference: 
> [https://github.com/apache/yunikorn-core/actions/runs/6920928414/job/18825954111]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to