[jboss-jira] [JBoss JIRA] (WFLY-6539) SingletonDeploymentDescriptorTestCase and SingletonDeploymentJBossAllTestCase fails due to http-trace disallowed

Ivan Straka (JIRA) issues at jboss.org
Thu Apr 21 04:34:00 EDT 2016


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

Ivan Straka edited comment on WFLY-6539 at 4/21/16 4:33 AM:
------------------------------------------------------------

Actually no. Tests fail in CR2 for TCP ASYNC and UDB SYNC/ASYNC configurations. Http-trace is allowed only for TCP SYNC configuration.
See https://github.com/wildfly/wildfly/blob/master/testsuite/integration/src/test/scripts/clustering-build.xml#L80
ant target for enabling http-trace is called only for tcp sync configuration. Not for extended tests.

I should have provide these informations in description. I am sorry.


was (Author: istraka):
Actually no. Tests fail in CR2 for TCP ASYNC and UDB SYNC/ASYNC configurations. Http-trace is allowed only for TCP SYNC configuration.
See https://github.com/wildfly/wildfly/blob/master/testsuite/integration/src/test/scripts/clustering-build.xml#L80
ant target for enabling http-trace is called only for tcp sync configuration. Not for extended tests.

> SingletonDeploymentDescriptorTestCase and SingletonDeploymentJBossAllTestCase fails due to http-trace disallowed
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-6539
>                 URL: https://issues.jboss.org/browse/WFLY-6539
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 10.0.0.Final
>            Reporter: Ivan Straka
>            Assignee: Ivan Straka
>            Priority: Minor
>
> There are two tests
> * SingletonDeploymentDescriptorTestCase 
> * SingletonDeploymentJBossAllTestCase
> that fails because http-trace is disallowed
> {code:java}
>  Error Details
> expected:<200> but was:<405>
>  Stack Trace
> java.lang.AssertionError: expected:<200> but was:<405>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:645)
> 	at org.junit.Assert.assertEquals(Assert.java:631)
> 	at org.jboss.as.test.clustering.cluster.singleton.SingletonDeploymentTestCase.test(SingletonDeploymentTestCase.java:107)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> ...
> {code}
> We need to enable http-trace requests in clustering configurations.



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


More information about the jboss-jira mailing list