Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11036

IgniteTcpCommunicationHandshakeWaitTest/IgniteTcpCommunicationHandshakeWaitSslTest fail in master

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8
    • 2.8
    • None

    Description

      On my local environment (Mac OS X) IgniteTcpCommunicationHandshakeWaitSslTest fails in 100% rate.

      junit.framework.AssertionFailedError: 
      Expected :3
      Actual   :1
       <Click to see difference>
      	at junit.framework.Assert.assertEquals(Assert.java:241)
      	at org.apache.ignite.spi.communication.tcp.IgniteTcpCommunicationHandshakeWaitTest.lambda$testHandshakeOnNodeJoining$0(IgniteTcpCommunicationHandshakeWaitTest.java:99)
      	at org.apache.ignite.testframework.GridTestUtils.lambda$runAsync$2(GridTestUtils.java:1009)
      

      I've investigated and found that the test overrides TcpDiscoverySpi but does not set ipFinder to the new object. Setting ipFinder solves the problem.

      Attachments

        Activity

          People

            macrergate Sergey Kosarev
            macrergate Sergey Kosarev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m