[jboss-jira] [JBoss JIRA] (AS7-2838) ClusteredWebTestCase does not deploy application on the second node
Radoslav Husar (Issue Comment Edited) (JIRA)
jira-events at lists.jboss.org
Wed Nov 30 04:47:41 EST 2011
[ https://issues.jboss.org/browse/AS7-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12646559#comment-12646559 ]
Radoslav Husar edited comment on AS7-2838 at 11/30/11 4:46 AM:
---------------------------------------------------------------
Also there seems to be a copy and paste issue, the clustered test case actually checks that the session has NOT been serialized, see code:
{code}
// This won't be true unless we have somewhere to which to replicate
Assert.assertFalse(Boolean.valueOf(response.getFirstHeader("serialized").getValue()));
{code}
Also I am not really sure about the correctness of this anyway, since there is no code branch where serialized would be set to true since writeObject and readObject do not override any method and are neither called within the application.
was (Author: rhusar):
Also there seems to be a copy and paste issue, the clustered test case actually checks that the session has NOT been serialized, see code:
{code}
// This won't be true unless we have somewhere to which to replicate
Assert.assertFalse(Boolean.valueOf(response.getFirstHeader("serialized").getValue()));
{code}
Also I am not really sure about the correctness of this anyway, since there is no code branch where serialized would be set to true since writeObject and readObject do not override any method and are neither called within the application.
> ClusteredWebTestCase does not deploy application on the second node
> -------------------------------------------------------------------
>
> Key: AS7-2838
> URL: https://issues.jboss.org/browse/AS7-2838
> Project: Application Server 7
> Issue Type: Bug
> Components: Clustering, Test Suite
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Blocker
>
> The second deployment is not specified, thus the application is not clustered.
> I already have fix in my branch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list