You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2023/11/16 06:05:00 UTC
[jira] [Resolved] (YUNIKORN-2158) Flaky test TestPublisherSendsEvent
[ 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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org