[jboss-jira] [JBoss JIRA] (WFLY-5566) org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase#testPutToBackupNotRelayed

Ivan Straka (JIRA) issues at jboss.org
Tue Feb 16 02:31:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-5566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163306#comment-13163306 ] 

Ivan Straka edited comment on WFLY-5566 at 2/16/16 2:30 AM:
------------------------------------------------------------

,,Discovery sends a discovery request, and waits for num_initial_members discovery responses, or timeout ms, whichever occurs first, before returning"
http://www.jgroups.org/manual/#Discovery

Therefore, if more responses arrive cluster will be made up of all of them.

I just think, that using tcpgossip discovery protocol in this test does not make any sense.


was (Author: istraka):
,,Discovery sends a discovery request, and waits for num_initial_members discovery responses, or timeout ms, whichever occurs first, before returning"
http://www.jgroups.org/manual/#Discovery

Therefore, if more responses arrive cluster will be made up of all of them.

> org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase#testPutToBackupNotRelayed
> --------------------------------------------------------------------------------
>
>                 Key: WFLY-5566
>                 URL: https://issues.jboss.org/browse/WFLY-5566
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering, Test Suite
>    Affects Versions: 10.0.0.CR2
>            Reporter: Ivan Straka
>            Assignee: Dmitrii Tikhomirov
>              Labels: clustering_revalidate
>
> There is org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase#testPutToBackupNotRelayed failing with exception:
> {code:java}
> Error Message
> expected:<500> but was:<200>
> Stacktrace
> java.lang.AssertionError: expected:<500> but was:<200>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.jboss.as.test.clustering.xsite.XSiteSimpleTestCase.testPutToBackupNotRelayed(XSiteSimpleTestCase.java:202)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list