Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[WFLY-10351] BMT interceptor cleanup

adding tests for timeout issue the XAResource setTransactionTimeout:

Once set, this timeout value is effective until setTransactionTimeout

is invoked again with a different value.

  1. … 1 more file in changeset.
[JBTM-3106] fixing test failures on Narayana CDI changes

it happens to have issues to inject the Narayana CDI interceptor when

the tests forces using the internal org.jboss.jts module.

This is not needed as we use the WFTC project now and we don't need

to use the Narayana classes directly in the tests.

As Narayana CDI extension is not used then the CDI was not loaded

and happens the CDI was not capable to find it

[ERROR] org.jboss.as.test.integration.ejb.transaction.cmt.timeout.TransactionTimeoutTestCase Time elapsed: 0.175 s <<< ERROR!

org.jboss.arquillian.container.spi.client.container.DeploymentException:

Cannot deploy test-ejb-cmt-timeout.jar: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"test-ejb-cmt-timeout.jar\".WeldStartService" => "Failed to start service

Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type TransactionExtension with qualifiers @Default

at injection point [BackedAnnotatedField] @Inject private com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorBase.extension

at com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorBase.extension(TransactionalInterceptorBase.java:0)

"}}}}

    • -4
    • +0
    ./cmt/timeout/DefaultTransactionTimeoutTestCase.java
  1. … 3 more files in changeset.
WFLY-11698 fixed max-delivery-attempts settings by TransactionTimeoutQueueSetupTask

    • -12
    • +12
    ./mdb/timeout/TransactionTimeoutQueueSetupTask.java
WFLY-11698 fixed max-delivery-attempts settings by TransactionTimeoutQueueSetupTask

    • -12
    • +12
    ./mdb/timeout/TransactionTimeoutQueueSetupTask.java
[WFLY-11607] fixing integration tests to comply the changeset introduced by WFTC upgrade to 1.1.3.Final

    • -0
    • +2
    ./cmt/fail/TransactionFirstPhaseErrorTestCase.java
    • -2
    • +1
    ./mdb/timeout/MessageDrivenDefaultTimeoutTestCase.java
    • -0
    • +31
    ./mdb/timeout/TransactionTimeoutQueueSetupTask.java
  1. … 6 more files in changeset.
[WFLY-11607] fixing integration tests to comply the changeset introduced by WFTC upgrade to 1.1.3.Final

    • -0
    • +2
    ./cmt/fail/TransactionFirstPhaseErrorTestCase.java
    • -2
    • +1
    ./mdb/timeout/MessageDrivenDefaultTimeoutTestCase.java
    • -0
    • +31
    ./mdb/timeout/TransactionTimeoutQueueSetupTask.java
  1. … 6 more files in changeset.
[WFLY-9777] clean testsuite debris in git-trackable directories.

    • -3
    • +0
    ./usertransaction/UserTransactionAccessTestCase.java
  1. … 3 more files in changeset.
[WFLY-9679] removing duplication in implementation of test XAResources

    • -0
    • +94
    ./exception/TimeoutTestXAResource.java
    • -0
    • +2
    ./exception/TxExceptionBaseTestCase.java
    • -11
    • +10
    ./exception/bean/ejb3/CmtEjb3.java
  1. … 1 more file in changeset.
[WFLY-9725][JBTM-2983] adding test to show that last resource does not provide error to the caller

    • -0
    • +78
    ./cmt/fail/InnerBean.java
    • -0
    • +47
    ./cmt/fail/OuterBean.java
    • -0
    • +125
    ./cmt/fail/TransactionFirstPhaseErrorTestCase.java
  1. … 2 more files in changeset.
[WFLY-9035] Fix in related testsuite

    • -0
    • +1
    ./cmt/timeout/BeanWithTimeoutValue.java
[WFLY-9035] Removed unnecessary public modifiers

[WFLY-9035] Added testsuite

    • -0
    • +65
    ./annotation/AnnotatedTransactionTestCase.java
    • -0
    • +12
    ./annotation/AnnotatedTx.java
    • -0
    • +33
    ./annotation/AnnotatedTxBean.java
[WFLY-9063] fix of TxException*TestCase with security manager

    • -0
    • +4
    ./exception/TxExceptionBaseTestCase.java
[WFLY-8459] tests for TransactionAttribute inheritance

when no interface view is used. TCK uses interface views for these tests

thus it was not caught before.

    • -0
    • +70
    ./cmt/inheritance/ChildSLSB.java
    • -0
    • +50
    ./cmt/inheritance/ChildWithClassAnnotationSLSB.java
    • -0
    • +73
    ./cmt/inheritance/SuperSLSB.java
    • -0
    • +233
    ./cmt/inheritance/TransactionAttributeTestCase.java
[WFLY-8373] Remove the temporary ignores from test cases now passing.

    • -7
    • +0
    ./bmt/lazyenlist/LazyTransactionEnlistmentUnitTestCase.java
    • -7
    • +0
    ./cmt/timeout/DefaultTransactionTimeoutTestCase.java
    • -7
    • +0
    ./descriptor/EjbTransactionDescriptorTestCase.java
  1. … 32 more files in changeset.
[WFLY-8370] change of transaction timeout in model to be propagated to WFTC

Tests added here also test JBEAP-9182 where WFTC didn't use txn timeout setting at all

before the fix was applied.

    • -0
    • +95
    ./mdb/timeout/DefaultTimeoutMDB.java
    • -0
    • +96
    ./mdb/timeout/MessageDrivenDefaultTimeoutTestCase.java
    • -11
    • +11
    ./mdb/timeout/MessageDrivenTimeoutTestCase.java
    • -0
    • +61
    ./mdb/timeout/TransactionDefaultTimeoutSetupTask.java
    • -0
    • +4
    ./mdb/timeout/TransactionTimeoutQueueSetupTask.java
  1. … 1 more file in changeset.
[WFLY-7888] fix for TxTestUtil works with security manager

Main point was not using CDI.current() as for such thing security

manager would need very special settings, see

https://github.com/wildfly/wildfly/pull/9591https://github.com/wildfly/wildfly/pull/9591

There is an additional fix for using adjust for MDB timeout tests as was changed by WFLY-8109.

There was an issue in test which does not wait long enough to receive a

message.

    • -2
    • +10
    ./mdb/timeout/AnnotationTimeoutMDB.java
    • -11
    • +9
    ./mdb/timeout/MessageDrivenTimeoutTestCase.java
  1. … 5 more files in changeset.
Use WildFly API to get transaction timeout in tests

    • -3
    • +2
    ./cmt/timeout/BeanWithTimeoutValue.java
  1. … 1 more file in changeset.
[WFLY-8016] Temporarily disable tests failing due to Invocation and Elytron changes.

    • -0
    • +7
    ./bmt/lazyenlist/LazyTransactionEnlistmentUnitTestCase.java
    • -0
    • +7
    ./cmt/timeout/DefaultTransactionTimeoutTestCase.java
    • -0
    • +7
    ./descriptor/EjbTransactionDescriptorTestCase.java
  1. … 41 more files in changeset.
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

    • -12
    • +0
    ./bmt/lazyenlist/LazyTransactionEnlistmentUnitTestCase.java
  1. … 529 more files in changeset.
WFLY-6901 - enable checkstyle for basic testsuite

    • -1
    • +0
    ./cmt/timeout/DefaultTransactionTimeoutTestCase.java
    • -25
    • +14
    ./cmt/timeout/TransactionTimeoutTestCase.java
    • -27
    • +25
    ./methodparams/TxMethodParamsTest.java
  1. … 1176 more files in changeset.
[WFLY-8794] added new test case for checking how Container and EJB client behave when exception is thrown

    • -0
    • +86
    ./exception/TestConfig.java
    • -0
    • +169
    ./exception/TestXAResource.java
    • -0
    • +191
    ./exception/TxExceptionBaseTestCase.java
    • -0
    • +161
    ./exception/TxExceptionEjbClientTestCase.java
    • -0
    • +141
    ./exception/TxExceptionTestCase.java
    • -0
    • +32
    ./exception/bean/TestBean.java
    • -0
    • +53
    ./exception/bean/ejb2/BmtEjb2.java
    • -0
    • +43
    ./exception/bean/ejb2/CmtEjb2.java
    • -0
    • +30
    ./exception/bean/ejb2/TestBean2Local.java
    • -0
    • +32
    ./exception/bean/ejb2/TestBean2Remote.java
    • -0
    • +62
    ./exception/bean/ejb3/BmtEjb3.java
    • -0
    • +77
    ./exception/bean/ejb3/CmtEjb3.java
[WFLY-7205] Adding newpackage with utility classes for transactions under shared module of testsuite

  1. … 7 more files in changeset.
[WFLY-7205][refactoring] removing unsused imports from transaction testing files

[WFLY-7205][refactoring] Removing meaningless setup task for JTS

There is no worthy to have the task defined or used as JTS for being set

needs restart of server which is not done either here or even under

basic set of tests.

Setting of JTS and orb is done by XSLT template when jboss as is copied

to target directory.

    • -1
    • +1
    ./annotation/NoExplicitTransactionManagementValueTestCase.java
    • -1
    • +1
    ./cmt/lifecycle/LifecycleMethodTransactionManagementTestCase.java
    • -3
    • +0
    ./mdb/timeout/AnnotationTimeoutMDB.java
    • -2
    • +0
    ./methodparams/TxMethodParamsTest.java
  1. … 1 more file in changeset.
[WFLY-6364] Adding testcase where UserTransaction commits twice on one ds connection

    • -3
    • +44
    ./bmt/lazyenlist/LazyTransactionEnlistmentUnitTestCase.java
[WFLY-7205][WFLY-6585] Adding tests for transaction timeout behavior for IIOP and EJB2 bean

  1. … 11 more files in changeset.
[WFLY-7205] Adding tests for transaction timeout behavior

[WFLY-7205] Adding tests for transaction timeout behavior when BMT is used

[WFLY-7205] Adding tests for transaction timeout behavior for MDB

    • -0
    • +115
    ./bmt/timeout/StatelessBmtBean.java
    • -0
    • +75
    ./bmt/timeout/StatelessBmtRestartTimeoutBean.java
    • -0
    • +123
    ./bmt/timeout/StatelessTimeoutTestCase.java
    • -0
    • +92
    ./mdb/timeout/ActivationPropertyTimeoutMDB.java
    • -0
    • +93
    ./mdb/timeout/AnnotationTimeoutMDB.java
    • -0
    • +176
    ./mdb/timeout/MessageDrivenTimeoutTestCase.java
    • -0
    • +81
    ./mdb/timeout/NoTimeoutMDB.java
    • -0
    • +68
    ./mdb/timeout/TransactionTimeoutQueueSetupTask.java
    • -0
    • +154
    ./utils/SingletonChecker.java
    • -0
    • +47
    ./utils/SingletonCheckerRemote.java
    • -0
    • +20
    ./utils/TestLookupUtil.java
    • -0
    • +53
    ./utils/TestSynchronization.java
    • -0
    • +100
    ./utils/TestXAResource.java
    • -0
    • +110
    ./utils/TxTestUtil.java
  1. … 1 more file in changeset.
Reduce testsuite system.out messages.

    • -8
    • +8
    ./bmt/lazyenlist/LazyTransactionEnlistmentUnitTestCase.java
  1. … 149 more files in changeset.
use xml 1.0 - workaround for JDK-8029437

  1. … 45 more files in changeset.
Revert "Merge pull request #7164 from hsvabek/test_for_WFLY-2627"

This reverts commit ad8f12982fd71eb88ff3a01751d547df9bf0350a, reversing

changes made to 3a2e9663378331e11ce85630d32b07b35e80d674.

    • -67
    • +0
    ./descriptor/EjbTransactionTypeOverrideTestCase.java