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

Matthias Klenz updated IGNITE-21792:
------------------------------------
    Description: 
ItNodeTest#testFollowerStartStopFollowing is flaky with
{code:java}
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>  at 
app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
  at 
app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
  at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)  at 
app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)  at 
app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)  at 
app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)  at 
app//org.apache.ignite.raft.jraft.core.ItNodeTest.testFollowerStartStopFollowing(ItNodeTest.java:2636)
  at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)  at 
[email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)  at 
[email protected]/java.util.ArrayList.forEach(ArrayList.java:1541) {code}
[TC failure 
link|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/7944770?expandBuildDeploymentsSection=false&hideTestsFromDependencies=false&expandBuildTestsSection=true&hideProblemsFromDependencies=false&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildChangesSection=true]

*Definition of done*

The test should have a timeout long enough to pass at least 95% of the time. If 
the test reaches the timeout, the test report will state that the test timed 
out and did not fail.

*Implementation notes*

Removed all statements that throw an exception when a timeout is reached, and 
used the JUnit timeout annotation instead. 

  was:
ItNodeTest#testFollowerStartStopFollowing is flaky with
{code:java}
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>  at 
app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
  at 
app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
  at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)  at 
app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)  at 
app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)  at 
app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)  at 
app//org.apache.ignite.raft.jraft.core.ItNodeTest.testFollowerStartStopFollowing(ItNodeTest.java:2636)
  at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)  at 
[email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)  at 
[email protected]/java.util.ArrayList.forEach(ArrayList.java:1541) {code}
[TC failure 
link|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/7944770?expandBuildDeploymentsSection=false&hideTestsFromDependencies=false&expandBuildTestsSection=true&hideProblemsFromDependencies=false&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildChangesSection=true]

 


> ItNodeTest#testFollowerStartStopFollowing is flaky
> --------------------------------------------------
>
>                 Key: IGNITE-21792
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21792
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Assignee: Matthias Klenz
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> ItNodeTest#testFollowerStartStopFollowing is flaky with
> {code:java}
> org.opentest4j.AssertionFailedError: expected: <true> but was: <false>  at 
> app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
>   at 
> app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
>   at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)  
> at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)  at 
> app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)  at 
> app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)  at 
> app//org.apache.ignite.raft.jraft.core.ItNodeTest.testFollowerStartStopFollowing(ItNodeTest.java:2636)
>   at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)  at 
> [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541)  at 
> [email protected]/java.util.ArrayList.forEach(ArrayList.java:1541) {code}
> [TC failure 
> link|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/7944770?expandBuildDeploymentsSection=false&hideTestsFromDependencies=false&expandBuildTestsSection=true&hideProblemsFromDependencies=false&expandCode+Inspection=true&expandBuildProblemsSection=true&expandBuildChangesSection=true]
> *Definition of done*
> The test should have a timeout long enough to pass at least 95% of the time. 
> If the test reaches the timeout, the test report will state that the test 
> timed out and did not fail.
> *Implementation notes*
> Removed all statements that throw an exception when a timeout is reached, and 
> used the JUnit timeout annotation instead. 



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

Reply via email to