Aleksey Plekhanov created IGNITE-27907:
------------------------------------------

             Summary: Flaky SetOpIntegrationTest.testExceptSeveralColumns
                 Key: IGNITE-27907
                 URL: https://issues.apache.org/jira/browse/IGNITE-27907
             Project: Ignite
          Issue Type: Bug
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


Test {{SetOpIntegrationTest.testExceptSeveralColumns}} flaky on teamcity, when 
some agents hold ports and grids start on non sequetial ports.
Error message:
{noformat}
java.lang.AssertionError: expected:<4> but was:<5>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:645)
        at org.junit.Assert.assertEquals(Assert.java:631)
        at 
org.apache.ignite.testframework.junits.JUnitAssertAware.assertEquals(JUnitAssertAware.java:95)
        at 
org.apache.ignite.internal.processors.query.calcite.integration.SetOpIntegrationTest.testExceptSeveralColumns(SetOpIntegrationTest.java:132)
{noformat}
It can be reproduced locally with configuration like:
{code:java}
    @Override protected IgniteConfiguration getConfiguration(String 
igniteInstanceName) throws Exception {
        IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);

        if (!"client".equals(igniteInstanceName) && 
getTestIgniteInstanceIndex(igniteInstanceName) != 0)
            ((TcpDiscoverySpi)cfg.getDiscoverySpi()).setLocalPort(47504);

        return cfg;
    }
{code}
Port included into consistentId, so changing port changes data distribution. 



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

Reply via email to