[
https://issues.apache.org/jira/browse/YUNIKORN-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830058#comment-17830058
]
Chia-Ping Tsai commented on YUNIKORN-2511:
------------------------------------------
[~Yu-Lin Chen] nice finding. I grep the code base and there are two test cases
which probably have similar issue:
https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/tests/recovery_test.go#L585
https://github.com/apache/yunikorn-core/blob/master/pkg/scheduler/tests/recovery_test.go#L656
Should we fix them also?
BTW, I loop the tests 30 times with your fix, and there is no failure.
> Fix flaky TestApplicationHistoryTracking
> ----------------------------------------
>
> Key: YUNIKORN-2511
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2511
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - scheduler, test - unit
> Reporter: Chia-Ping Tsai
> Priority: Minor
>
> {code}
> 2024-03-23T08:13:06.036Z INFO core.events
> events/event_publisher.go:69 Stopping shim event publisher
> --- FAIL: TestApplicationHistoryTracking (0.01s)
> application_tracking_test.go:62: assertion failed: 2 (int) != 0 (int):
> number of events generated
> {code}
> The test is not stable on my local.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]