Uploaded image for project: 'JBoss Remoting (3+)'
  1. JBoss Remoting (3+)
  2. REM3-397

Fix test failure for RemoteChannelTest.testRefused on Windows

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.0.26.Final
    • None
    • None

      Here is the stack trace of the failure:

      Error:  testRefused(org.jboss.remoting3.test.RemoteChannelTest) Time elapsed: 2.194 s <<< FAILURE! 
       java.lang.AssertionError: Expected an IOException with 'refused' in the string 
       at org.junit.Assert.fail(Assert.java:89) 
       at org.jboss.remoting3.test.RemoteChannelTest.testRefused(RemoteChannelTest.java:169) 
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       

      On newer Wndows JDKs 14 and 17, the test failure above occurs and investigation shows that the future state is forever waiting. So the test just goes ahead and cancel it. IMO, we should deem this as an acceptable output for the test.

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: