Maksim Davydov created IGNITE-29274:
---------------------------------------

             Summary: .NET: Fix flaky IgniteStartStopTest.TestStartDefault
                 Key: IGNITE-29274
                 URL: https://issues.apache.org/jira/browse/IGNITE-29274
             Project: Ignite
          Issue Type: Task
            Reporter: Maksim Davydov
            Assignee: Maksim Davydov


IgniteStartStopTest.TestStartDefault starts a node with the default 
configuration, so discovery
uses TcpDiscoveryMulticastIpFinder (group 228.1.2.4, port 47400). On TeamCity 
agents that share a network, the node can find a node of another build running 
at the same time:
- if both nodes have the same feature set, the test node joins the other 
cluster and the test
  fails with "Unexpected number of nodes in the cluster";
- if the feature sets differ at the same version, the join fails with an 
AssertionError in
  IgniteMessageSerializationContext.resolveComponentSerializationContext.

Example of the second case: Platform .NET (Core Linux) build #53280 on agent 
lin-13,
https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_PlatformNetCoreLinux/9485923

Fix: use TestUtils.GetStaticDiscovery() (127.0.0.1:47500), as the other tests 
do. The rest of
the configuration stays default, which is what the test checks.



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

Reply via email to