Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
WFLY-7298 Testsuite IO ops housekeeping

- don't always log deployments

- remove full tree read that is not used

- replace system.out --> log.trace

- replace log.info --> log.trace

- make all test code use jboss logging instead of 3 diffrent log frameworks

    • -14
    • +11
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 526 more files in changeset.
WFLY-6901 - enable checkstyle for basic testsuite

    • -8
    • +5
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 1184 more files in changeset.
Merge pull request #8475 from istudens/WFLY-5170

WFLY-5170 add required permissions to test-cases

    • -0
    • +3
    ./lifecycle/PooledEJBLifecycleTestCase.java
[BZ-1267173] - Intermittent failures in PooledEJBLifecycleTestCase

    • -3
    • +4
    ./lifecycle/PooledEJBLifecycleTestCase.java
WFLY-5170 add required permissions to test-cases

    • -0
    • +3
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 12 more files in changeset.
[WFLY-4831] Clean up HornetQ modules

* remove HornetQ modules that corresponds to its server code.

* add a org.hornetq.journal module for modules depending on HornetQ

journal

There is also a need for a org.hornetq.client module (for forward

compatibility) covered by https://issues.jboss.org/browse/WFLY-4585

JIRA: https://issues.jboss.org/browse/WFLY-4831

    • -2
    • +2
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 9 more files in changeset.
JBQA-11244 Test coverage for nested expressions in annotations/dd in EJB applications

test for @Pool annotation using a nested expression

test for access-timeout attribute with a nested expression

    • -0
    • +39
    ./override/PoolAnnotatedWithExpressionEJB.java
    • -2
    • +60
    ./override/PoolOverrideTestCase.java
    • -0
    • +1
    ./override/jboss.properties
  1. … 7 more files in changeset.
Upgrade wildfly-arquillian containers to alpha4.

- change usages of osgi metadata apis with shrinkwrap ones

    • -23
    • +11
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 14 more files in changeset.
Add utility method to make the generation of permissions files a bit nicer

    • -11
    • +3
    ./override/PoolOverrideTestCase.java
  1. … 17 more files in changeset.
Let PoolOverrideTestCase modify threads

    • -0
    • +11
    ./override/PoolOverrideTestCase.java
fix MDB tests

* with JMS 2.0, the behaviour of ConnectionFactory.createSession() has

been clarified:

> In a Java EE web or EJB container, when there is an active JTA

> transaction in progress:

>

> Both arguments transacted and acknowledgeMode are ignored. The session

> will participate in the JTA transaction and will be committed or rolled

> back when that transaction is committed or rolled back, not by calling

> the session's commit or rollback methods. Since both arguments are

> ignored, developers are recommended to use createSession(), which has no

> arguments, instead of this method.

> In the Java EE web or EJB container, when there is no active JTA

> transaction in progress:

>

> The argument transacted is ignored. The session will always be

> non-transacted, using one of the two acknowledgement modes

> AUTO_ACKNOWLEDGE and DUPS_OK_ACKNOWLEDGE.

> The argument acknowledgeMode is used to specify how messages received by

> this session will be acknowledged. The only permitted values in this

> case are Session.AUTO_ACKNOWLEDGE and Session.DUPS_OK_ACKNOWLEDGE. The

> value Session.CLIENT_ACKNOWLEDGE may not be used. For a definition of

> the meaning of these acknowledgement modes see the links below.

However, the MDB contract in EJB 3.2 spec (§ 5.4.6) specifies that:

> The PostConstruct lifecycle callback interceptor method executes in an

> unspecified transaction and security context.

This means that the behaviour of ConnectionFactory.createSeesion is

unspecified in @PostConstruct since the transaction context is itself

unspecified.

After some debugging, it appears that in WildFly, there *is* a

transaction when @PostConstruct method is called. This implies that the

JMS session is created to participate in *this* transaction.

Later on, when the MDB's `onMessage()` is called, it is in *another*

transaction and the JMS session will not participate (meaning the reply

message is not sent and the tests failed)

It was working before with JMS 1.1 because the JMS sessions was not transacted

(the createSession contract was not specified) and the message was sent

outside of the transaction required by the MDB's `onMessage()` method.

Creating a JMS context (equivalent to a connection + session) inside the

`onMessage()` method makes sure the JMS session is created with a

correct transaction context.

In addition, there is no benefit to keep the JMS connection as a MDB

field since it's using a pooled connection.

    • -38
    • +15
    ./lifecycle/LifecycleCounterMDB.java
  1. … 5 more files in changeset.
WFLY-1506 Cleanup the PooledEJBLifecycleTestCase to prevent intermittent failures

    • -0
    • +10
    ./lifecycle/Constants.java
    • -70
    • +0
    ./lifecycle/LifecycleCounterBean.java
    • -18
    • +33
    ./lifecycle/LifecycleCounterMDB.java
    • -0
    • +97
    ./lifecycle/LifecycleTrackerBean.java
    • -0
    • +61
    ./lifecycle/PointLessMathBean.java
    • -62
    • +143
    ./lifecycle/PooledEJBLifecycleTestCase.java
[AS7-5680] Separate framework SPI from API

    • -1
    • +1
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 76 more files in changeset.
spelling fix (milliseconds)

  1. … 8 more files in changeset.
spelling fix (milliseconds)

  1. … 8 more files in changeset.
Clean up some integration/basic resources

  1. … 116 more files in changeset.
[AS7-3817] Remove test topics and queues from default configuration

    • -3
    • +7
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 18 more files in changeset.
[AS7-3829] Remove JUnit from the AS installation tree

    • -1
    • +1
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 39 more files in changeset.
ServerSetupTask fixes to handle tests with multiple deployments better

  1. … 34 more files in changeset.
WIP

    • -20
    • +23
    ./override/PoolOverrideTestCase.java
  1. … 66 more files in changeset.
Testcase for pool annotation and deployment descriptor processing

    • -0
    • +43
    ./override/AbstractSlowBean.java
    • -0
    • +39
    ./override/PoolAnnotatedAndSetInDDBean.java
    • -0
    • +39
    ./override/PoolAnnotatedEJB.java
    • -0
    • +198
    ./override/PoolOverrideTestCase.java
    • -0
    • +38
    ./override/PoolSetInDDBean.java
  1. … 5 more files in changeset.
AS7-1384 - pooled EJBs have no lifecycle

    • -0
    • +40
    ./lifecycle/LifecycleCounter.java
    • -0
    • +70
    ./lifecycle/LifecycleCounterBean.java
    • -0
    • +101
    ./lifecycle/LifecycleCounterMDB.java
    • -0
    • +78
    ./lifecycle/LifecycleCounterSLSB.java
    • -0
    • +32
    ./lifecycle/PointlesMathInterface.java
    • -0
    • +206
    ./lifecycle/PooledEJBLifecycleTestCase.java
  1. … 2 more files in changeset.