Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-4661 TreeNode putIfAbsent implementation is different from what promised

    • -0
    • +14
    ./infinispan/api/tree/NodeAPITest.java
  1. … 1 more file in changeset.
ISPN-2849 Don't keep threads blocked when waiting for locks to be released

  1. … 93 more files in changeset.
ISPN-5473 Replace System.out.println with logging

    • -1
    • +1
    ./infinispan/api/tree/NodeAPITest.java
  1. … 19 more files in changeset.
ISPN-3840 Test suite should continue when a test hasn't closed its cache managers

Add fail-all-tests and fail-all-tests-setup profile to fail all the tests

and @Before methods and check that their cache managers are closed properly.

  1. … 14 more files in changeset.
BZ1093723 ISPN-4207 Lock container ignores key Equivalence

  1. … 15 more files in changeset.
ISPN-4207 Lock container ignores key Equivalence

  1. … 14 more files in changeset.
ISPN-4074 Introduce a doclet to filter out private APIs from the JavaDoc

- Add package-info.java file for all public packages which need to be documented

- Separate interfaces from implementations by creating appropriate "impl" packages

- Remove legacy classes and interfaces which have moved to commons

    • -5
    • +6
    ./infinispan/api/tree/BaseNodeMoveAPITest.java
    • -1
    • +1
    ./infinispan/api/tree/LazyDeserializationTreeCacheTest.java
    • -1
    • +2
    ./infinispan/api/tree/NodeAPITest.java
    • -1
    • +1
    ./infinispan/api/tree/NodeLockSupport.java
    • -1
    • +3
    ./infinispan/api/tree/SyncReplTest.java
    • -1
    • +3
    ./infinispan/api/tree/SyncReplTxTest.java
    • -2
    • +3
    ./infinispan/api/tree/TreeCacheAPITest.java
  1. … 448 more files in changeset.
Revert changes in TreeProfileTest and HotRodBigDataStressTest

* only unit,functional,arquillian,xsite test groups should be

mark as unstable since the other test groups are running manually.

  1. … 1 more file in changeset.
ISPN-3964 Move unstable tests to different group

* No tests are disabled. Unstable (random failing) tests should be

marked with group 'unstable'. This can be applied to a class or

a method.

* Added profile test-unstable (-Ptest-unstable) to run only the

'unstable' group.

* Enabled all stress,profiling,manual tests since they do not run

automatically.

* Removed not implemented tests.

  1. … 116 more files in changeset.
ISPN-3964 Move unstable tests to different group

* No tests are disabled. Unstable (random failing) tests should be

marked with group 'unstable'. This can be applied to a class or

a method.

* Added profile test-unstable (-Ptest-unstable) to run only the

'unstable' group.

* Enabled all stress,profiling,manual tests since they do not run

automatically.

* Removed not implemented tests.

  1. … 118 more files in changeset.
ISPN-3777 ThreadLocal in AbstractInvocationContextContainer is leaking instances of LocalTxInvocationContext

* InvocationContextInterceptor now sets the InvocationContext thread-local

* Batching mode now also uses InvocationContextInterceptor, so there is

only one place where the thread local is set/removed.

* InvocationContextFactory was extracted from InvocationContextContainer

* The thread-local is not set when the classloader is not needed, or when

the call classloader (either from AdvancedCache.with(ClassLoader) or from

the thread's context classloader) is the same as the configured

classloader (by default, the context classloader of the thread that

created the GlobalConfiguration).

* DefaultContextClassResolver now prefers the classloader in the

configuration to the current thread's context classloader (but if they

are different, the context classloader was already set in the

InvocationContext and returned by EmbeddedContextClassResolver).

    • -2
    • +2
    ./infinispan/api/tree/BaseNodeMoveAPITest.java
  1. … 42 more files in changeset.
ISPN-3683 CacheLoaderException should be renamed to PersistenceException

  1. … 80 more files in changeset.
ISPN-3478 Polish CS API revamp

* use consistent naming

    • -99
    • +0
    ./infinispan/loaders/TreeCacheWithLoaderTest.java
  1. … 325 more files in changeset.
ISPN-3290 Redesign CacheStore API

* removed migration tools (outdated)

ISPN-3290 Redesign CacheStore API

* removed pre 6.0 parsers and config files

ISPN-3290 Redesign CacheStore API

* removed existing SPI and store support classes: bucket based, lock support

ISPN-3290 Redesign CacheStore API

* new loader/writer SPI

ISPN-3290 Redesign CacheStore API

* implemented the cache store chaining logic

ISPN-3290 Redesign CacheStore API

* updated configuration

ISPN-3290 Redesign CacheStore API

* SingleFileCacheStore migration

ISPN-3290 Redesign CacheStore API

* migrate the JDBC cache store

ISPN-3290 Redesign CacheStore API

* removed old adaptor classes

ISPN-3290 Redesign CacheStore API

* migrate lucene loaders

ISPN-3290 Redesign CacheStore API

* migrate JCache adapters

ISPN-3290 Redesign CacheStore API

* migrate the remote cache store

ISPN-3290 Redesign CacheStore API

* migrated the cluster store

ISPN-3290 Redesign CacheStore API

* bug fix: for named components (the marshaller) it wrongly considered it as a global component

ISPN-3290 Redesign CacheStore API

* fixed tests and code scrubbing

ISPN-3290 Redesign CacheStore API

Answered the review comments

* fixed spelling error

* improved javadoc

* InitializationContext.getConfiguration is generic now to avoid casts

ISPN-3290 Redesign CacheStore API

* fixed race condition in async cache store

ISPN-3290 Redesign CacheStore API

* fixed test timing out due to marshaller being created on every request

    • -20
    • +20
    ./infinispan/loaders/TreeCacheWithLoaderTest.java
  1. … 512 more files in changeset.
ISPN-3276 Migrate the CacheLoader API to use org.infinispan.configuration

ISPN-3343 Write up CacheLoaderConfiguration and corresponding Builder for Lucene module

    • -42
    • +0
    ./infinispan/loaders/TreeCacheWithJdbmLoaderTest.java
  1. … 238 more files in changeset.
ISPN-3185 License and copyright header update

    • -22
    • +0
    ./infinispan/api/tree/BaseNodeMoveAPITest.java
    • -22
    • +0
    ./infinispan/api/tree/FlagTest.java
    • -22
    • +0
    ./infinispan/api/tree/LazyDeserializationTreeCacheTest.java
    • -22
    • +0
    ./infinispan/api/tree/NodeAPITest.java
    • -23
    • +0
    ./infinispan/api/tree/NodeLockSupport.java
    • -22
    • +0
    ./infinispan/api/tree/NodeMoveAPIOptimisticTest.java
    • -22
    • +0
    ./infinispan/api/tree/NodeMoveAPIPessimisticTest.java
    • -30
    • +0
    ./infinispan/api/tree/SyncReplTest.java
    • -30
    • +0
    ./infinispan/api/tree/SyncReplTxTest.java
    • -22
    • +0
    ./infinispan/api/tree/TreeCacheAPITest.java
    • -22
    • +0
    ./infinispan/api/tree/TreeStructureHashCodeTest.java
    • -19
    • +0
    ./infinispan/loaders/TreeCacheWithJdbmLoaderTest.java
    • -22
    • +0
    ./infinispan/loaders/TreeCacheWithLoaderTest.java
  1. … 3156 more files in changeset.
ISPN-3260 Split common API and classes into infinispan-commons

    • -1
    • +1
    ./infinispan/api/tree/BaseNodeMoveAPITest.java
    • -1
    • +1
    ./infinispan/api/tree/TreeCacheAPITest.java
  1. … 862 more files in changeset.
ISPN-3192 Concurrent TreeCache.move() calls with the same destination lose data

Causes intermittent failures in NodeMoveAPIPessimisticTest.

Lock the destination node and the parent of the source node the first time

they are read (in pessimistic mode).

    • -175
    • +147
    ./infinispan/api/tree/BaseNodeMoveAPITest.java
  1. … 3 more files in changeset.
ISPN-3192 Concurrent TreeCache.move() calls with the same destination lose data

Causes intermittent failures in NodeMoveAPIPessimisticTest.

Lock the destination node and the parent of the source node the first time

they are read (in pessimistic mode).

    • -175
    • +147
    ./infinispan/api/tree/BaseNodeMoveAPITest.java
  1. … 3 more files in changeset.
ISPN-3248 Cleaned up Tree module and deprecated ConfigurationException

    • -25
    • +28
    ./infinispan/api/tree/TreeCacheAPITest.java
  1. … 3 more files in changeset.
ISPN-3078 @AfterMethod/alwaysRun and alike are not used correctly

  1. … 167 more files in changeset.
ISPN-2325 Fix the JMX domain conflict failing tests

* Convert tests to using test cache manager factory.

* Solve issues related to cache managers not being closed.

* Create alternative cache manager factories for CDI and Spring tests.

    • -3
    • +7
    ./infinispan/api/tree/TreeCacheAPITest.java
  1. … 49 more files in changeset.
ISPN-2220 After overriding an existing config, record it in overrides

    • -4
    • +4
    ./infinispan/api/tree/TreeCacheAPITest.java
  1. … 21 more files in changeset.
ISPN-2210 Rework configuration and builders for loaders - Distinguish between loaders and stores - extract interfaces from abstract classes to ease extensibility

    • -5
    • +5
    ./infinispan/loaders/TreeCacheWithJdbmLoaderTest.java
  1. … 52 more files in changeset.
ISPN-2134 Convert TreeCache tests to new cache config API

Replace all usages of the deprecated config API in tests

    • -0
    • +2
    ./infinispan/api/tree/BaseNodeMoveAPITest.java
    • -5
    • +5
    ./infinispan/api/tree/LazyDeserializationTreeCacheTest.java
    • -4
    • +4
    ./infinispan/api/tree/NodeAPITest.java
    • -1
    • +1
    ./infinispan/api/tree/NodeMoveAPIPessimisticTest.java
    • -4
    • +5
    ./infinispan/api/tree/SyncReplTest.java
    • -5
    • +6
    ./infinispan/api/tree/SyncReplTxTest.java
    • -4
    • +3
    ./infinispan/api/tree/TreeCacheAPITest.java
    • -12
    • +12
    ./infinispan/loaders/TreeCacheWithJdbmLoaderTest.java
    • -5
    • +5
    ./infinispan/tx/TransactionManagerLookupTreeTest.java
ISPN-2058 Tree node move concurrency test broken

* Cache in NodeMoveAPITest must use optimistic locking + write skew check otherwise NodeMoveAPITest.testConcurrency() cannot work

* Rename NodeMoveAPITest to BaseNodeMoveAPITest and add two subclasses that provide appropriate cache configuration for optimistic and pessimistic locking: NodeMoveAPIOptimisticTest and NodeMoveAPIPessimisticTest

* Add BaseNodeMoveAPITest.testConcurrencySimple(), a simpler easier to debug variant of BaseNodeMoveAPITest.testConcurrency()

* Add rollback support via AutoBatchSupport.failAtomic() and use it accordingly in TreeCacheImpl.move(..) to ensure a partial move is never committed and we do not get duplicates

* TreeCacheImpl.move(..) reads the parent node to ensure the write skew check can detect concurrent removals of the child

    • -20
    • +116
    ./infinispan/api/tree/BaseNodeMoveAPITest.java
    • -511
    • +0
    ./infinispan/api/tree/NodeMoveAPITest.java
    • -0
    • +50
    ./infinispan/api/tree/NodeMoveAPIOptimisticTest.java
    • -0
    • +47
    ./infinispan/api/tree/NodeMoveAPIPessimisticTest.java
  1. … 2 more files in changeset.
ISPN-2058 Tree node move concurrency test broken

Some cleanup:

* Remove some unused imports in tree module

* Remove unused class TreeContext

* Fix some generics related warnings

* Fix a few usages of deprecated cache configuration

* Add NodeAPITest.testGetParent()

    • -4
    • +13
    ./infinispan/api/tree/NodeAPITest.java
    • -2
    • +2
    ./infinispan/api/tree/SyncReplTest.java
    • -1
    • +0
    ./infinispan/api/tree/SyncReplTxTest.java
    • -1
    • +1
    ./infinispan/api/tree/TreeCacheAPITest.java
    • -2
    • +0
    ./infinispan/loaders/TreeCacheWithJdbmLoaderTest.java
    • -2
    • +2
    ./infinispan/test/TreeTestingUtil.java
  1. … 5 more files in changeset.
ISPN-2097 - Tear down methods should run even if the test method failed

By default TestNG doesn't run methods annotated with `@AfterMethod`/`@AfterTest`/`@AfterClass` if the test method failed.

This means we have to write `alwaysRun=true` explicitly, or the method won't run after a failure and it may leave cache managers lying around.

    • -1
    • +1
    ./infinispan/loaders/TreeCacheWithJdbmLoaderTest.java
  1. … 94 more files in changeset.
ISPN-2097 - Tear down methods should run even if the test method failed

By default TestNG doesn't run methods annotated with `@AfterMethod`/`@AfterTest`/`@AfterClass` if the test method failed.

This means we have to write `alwaysRun=true` explicitly, or the method won't run after a failure and it may leave cache managers lying around.

    • -1
    • +1
    ./infinispan/loaders/TreeCacheWithJdbmLoaderTest.java
  1. … 90 more files in changeset.
TestingUtil.tmpDirectory should always use java.io.tmpdir

Because each test has to specify the base directory, most of them hardcode '/tmp'.

It's easier to do the right thing in just one place, and provide a system

property for the user to override the base directory.

    • -3
    • +2
    ./infinispan/loaders/TreeCacheWithJdbmLoaderTest.java
  1. … 14 more files in changeset.