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

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

> Flaky test TestPublisherSendsEvent
> ----------------------------------
>
>                 Key: YUNIKORN-2158
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2158
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler, test - unit
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> Unit tests failed in our internal build environment:
> {noformat}
> 2023-11-14T02:11:54.954Z INFO core.rmproxy plugins/plugins.go:46 register 
> scheduler plugin: ResourceManagerCallback
> 2023-11-14T02:11:54.955Z INFO core.rmproxy plugins/plugins.go:50 register 
> scheduler plugin: StateDumpPlugin
> 2023/11/14  --- FAIL: TestPublisherSendsEvent (0.01s)  
> event_publisher_test.go:137: EventRecord should not be nil!
> {noformat}
> Root cause is potentially scheduling/timing, the 2ms sleep time is not 
> enough. Replace it with polling.



--
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