public void test_alternate_ok_2()
{
server.setIORAddress( WRONG_HOST, CORRECT_PORT );
server.addAlternateAddress( WRONG_HOST_2, CORRECT_PORT );
server.addAlternateAddress( CORRECT_HOST, CORRECT_PORT );
Sample s = server.getObject();
testNumberOfIIOPProfiles(3, s);
testHostAndPortInIIOPProfile(s, 0, WRONG_HOST, CORRECT_PORT);
testHostAndPortInIIOPProfile(s, 1, WRONG_HOST_2, CORRECT_PORT);
testHostAndPortInIIOPProfile(s, 2, CORRECT_HOST, CORRECT_PORT);
int result = s.ping (187);
assertEquals (188, result);
}