[jboss-jira] [JBoss JIRA] Created: (JBAS-4422) org.jboss.test.util.test.TwiddleUnitTestCase can't connect to host

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Tue May 15 19:44:55 EDT 2007


org.jboss.test.util.test.TwiddleUnitTestCase can't connect to host
------------------------------------------------------------------

                 Key: JBAS-4422
                 URL: http://jira.jboss.com/jira/browse/JBAS-4422
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Test Suite
    Affects Versions: JBossAS-4.2.0.CR2
         Environment: x86, Windows 2003 , Sun and BEA JVM 
            Reporter: Richard Achmatowicz
            Priority: Trivial


1. The test testGet() in org.jboss.test.util.test.TwideleUnitTestCase builds a twiddle command line, execs the command line and checks that the output received from the server macthes the expected output. Comamnd lines are built, based on OS type: there is one for Windows and one for UNIX. 

The command line built when executing on Windows is: 
> cmd /C twiddle get "jboss.system:type=Server" "Started" 

and the response should be 
"Started=true" 

It appears that twiddle had an option for specifying the server host, but this option has been commented out. 
When executing the test on Windows, twiddle tries by default to connect to the server using localhost:1099. 

2. When the testsuite is run using the parameters node0/node1 to specify the host IP addresses, localhost:1099 is not available 
and the test fails. 

(please see the linked issue JBPAPP-176 for more details)




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list