[jboss-jira] [JBoss JIRA] (WFLY-8109) Improve timeouts in AS TS

Marek Kopecký (JIRA) issues at jboss.org
Thu Feb 16 05:07:00 EST 2017


     [ https://issues.jboss.org/browse/WFLY-8109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Kopecký updated WFLY-8109:
--------------------------------
    Description: 
Improve timeouts in AS TS
* JMSMessageDrivenBeanTestCase should use TimeoutUtil for timeout
* increase timeout in PassivationTestCase
* JspCompilerTestCase should use TimeoutUtil for timeout
* increase timeout in MDBTestCase
* increase the default forked process timeout for basic module to hour, [same timeout is used in clustering module|https://github.com/wildfly/wildfly/blob/master/testsuite/integration/clustering/pom.xml#L24]
* remove usage of TimeoutUtil from TxTestUtil. If -Dts.timeout.factor=200 is used, MessageDrivenTimeoutTestCase.transactionTimeoutAnnotation and MessageDrivenTimeoutTestCase.transactionTimeoutActivationProperty fail:
{noformat}
java.lang.AssertionError: Sent and received message does not match at expected way expected:<replying annotation timeout> but was:<null>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.jboss.as.test.integration.ejb.transaction.mdb.timeout.MessageDrivenTimeoutTestCase.transactionTimeoutAnnotation(MessageDrivenTimeoutTestCase.java:109)

java.lang.AssertionError: No message should be received as mdb timeouted expected null, but was:<replying annotation timeout>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotNull(Assert.java:755)
	at org.junit.Assert.assertNull(Assert.java:737)
	at org.jboss.as.test.integration.ejb.transaction.mdb.timeout.MessageDrivenTimeoutTestCase.transactionTimeoutActivationProperty(MessageDrivenTimeoutTestCase.java:126)
{noformat}

This stabilizes TS on slower machines.

  was:
Improve timeouts in AS TS
* JMSMessageDrivenBeanTestCase should use TimeoutUtil for timeout
* increase timeout in PassivationTestCase
* JspCompilerTestCase should use TimeoutUtil for timeout
* increase timeout in MDBTestCase
* increase the default forked process timeout for basic module to hour, [same timeout is used in clustering module|https://github.com/wildfly/wildfly/blob/master/testsuite/integration/clustering/pom.xml#L24]

This stabilizes TS on slower machines.



> Improve timeouts in AS TS
> -------------------------
>
>                 Key: WFLY-8109
>                 URL: https://issues.jboss.org/browse/WFLY-8109
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: Test Suite
>            Reporter: Marek Kopecký
>            Assignee: Marek Kopecký
>
> Improve timeouts in AS TS
> * JMSMessageDrivenBeanTestCase should use TimeoutUtil for timeout
> * increase timeout in PassivationTestCase
> * JspCompilerTestCase should use TimeoutUtil for timeout
> * increase timeout in MDBTestCase
> * increase the default forked process timeout for basic module to hour, [same timeout is used in clustering module|https://github.com/wildfly/wildfly/blob/master/testsuite/integration/clustering/pom.xml#L24]
> * remove usage of TimeoutUtil from TxTestUtil. If -Dts.timeout.factor=200 is used, MessageDrivenTimeoutTestCase.transactionTimeoutAnnotation and MessageDrivenTimeoutTestCase.transactionTimeoutActivationProperty fail:
> {noformat}
> java.lang.AssertionError: Sent and received message does not match at expected way expected:<replying annotation timeout> but was:<null>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:834)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.jboss.as.test.integration.ejb.transaction.mdb.timeout.MessageDrivenTimeoutTestCase.transactionTimeoutAnnotation(MessageDrivenTimeoutTestCase.java:109)
> java.lang.AssertionError: No message should be received as mdb timeouted expected null, but was:<replying annotation timeout>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotNull(Assert.java:755)
> 	at org.junit.Assert.assertNull(Assert.java:737)
> 	at org.jboss.as.test.integration.ejb.transaction.mdb.timeout.MessageDrivenTimeoutTestCase.transactionTimeoutActivationProperty(MessageDrivenTimeoutTestCase.java:126)
> {noformat}
> This stabilizes TS on slower machines.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list