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

Aurélien Pupier reassigned CAMEL-27440:
---------------------------------------

    Assignee: Aurélien Pupier

> Fix flaky test KubernetesClusterViewStopTest
> --------------------------------------------
>
>                 Key: CAMEL-27440
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27440
>             Project: Camel
>          Issue Type: Test
>          Components: camel-kubernetes
>    Affects Versions: 4.24.0
>            Reporter: Aurélien Pupier
>            Assignee: Aurélien Pupier
>            Priority: Major
>
> test was added 3 days ago, [it fails 2%  of the time and is flaky 19% of the 
> time|https://develocity.apache.org/scans/tests?search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.component.kubernetes.cluster.KubernetesClusterViewStopTest&tests.sortField=FLAKY]
> {noformat}
> org.opentest4j.AssertionFailedError: expected: <null> but was: <mypod1>       
>       at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:308)     
>       at 
> org.apache.camel.component.kubernetes.cluster.KubernetesClusterViewStopTest.testStoppedViewReleasesLeadership(KubernetesClusterViewStopTest.java:99)
>  
> {noformat}
> {noformat}
> org.opentest4j.AssertionFailedError: expected: <null> but was: <mypod1>       
>       at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:308)     
>       at 
> org.apache.camel.component.kubernetes.cluster.KubernetesClusterViewStopTest.testStoppedViewReleasesLeadership(KubernetesClusterViewStopTest.java:99)
>  
> {noformat}
> {noformat}
> org.opentest4j.AssertionFailedError: The stop of 3 groups took 540 ms ==> 
> expected: <true> but was: <false>   
>       at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)     
>       at 
> org.apache.camel.component.kubernetes.cluster.KubernetesClusterViewStopTest.testStopOfManyGroupsDoesNotWaitWhenTheLastLookupFailed(KubernetesClusterViewStopTest.java:217){noformat}
> {noformat}
> org.opentest4j.AssertionFailedError: The stop of 3 groups took 634 ms ==> 
> expected: <true> but was: <false>   
>       at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)     
>       at 
> org.apache.camel.component.kubernetes.cluster.KubernetesClusterViewStopTest.testStopOfManyGroupsDoesNotWaitWhenTheLastLookupFailed(KubernetesClusterV
> {noformat}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to