Mirza Aliev created IGNITE-24300: ------------------------------------ Summary: ItNodeTest#testIndexAndTermArePropagatedToOnNewPeersConfigurationApplied failed on AI3 TC main Key: IGNITE-24300 URL: https://issues.apache.org/jira/browse/IGNITE-24300 Project: Ignite Issue Type: Bug Reporter: Mirza Aliev Attachments: _Integration_Tests_Module_Raft_34067.log.zip
ItNodeTest#testIndexAndTermArePropagatedToOnNewPeersConfigurationApplied [failed|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8805292] on AI3 TC main {noformat} org.opentest4j.AssertionFailedError: expected: <3> but was: <1> 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.AssertEquals.failNotEqual(AssertEquals.java:197) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:632) at app//org.apache.ignite.raft.jraft.core.ItNodeTest.testIndexAndTermArePropagatedToOnNewPeersConfigurationApplied(ItNodeTest.java:3501) {noformat} I have an idea, how to fix this, we have to verify if {code:java} assertTrue(waitForCondition(() -> cluster.getLeader().listAlivePeers().contains(newPeer.getPeerId()), 10_000)); {code} is enough for being sure that {{onNewPeersConfigurationApplied}} has been invoked and {code:java} // Leader hasn't been changed, term must stay the same assertEquals(1, term.get()); // idx_2 == joint consensus, idx_3 is expected final cfg assertEquals(3, index.get()); {code} could be satisfied. -- This message was sent by Atlassian Jira (v8.20.10#820010)