Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-3023 Re-implement BoundedConcurrentHashMap using CHMv8 designs

* Had to remove Equivalence support

  1. … 17 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

  1. … 506 more files in changeset.
ISPN-3463 Ensure persistent data removal before or after the test

  1. … 3 more files in changeset.
ISPN-2272 Remove the use of deprecated methods from the core test suite (including utility classes used by other tests) and all other modules affected by this

  1. … 245 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

  1. … 233 more files in changeset.
ISPN-3185 License and copyright header update

  1. … 3164 more files in changeset.
ISPN-3260 Split common API and classes into infinispan-commons

  1. … 863 more files in changeset.
ISPN-761 Cache.keySet(),entrySet(),values(),size() ignore contents of cache loader

* Added support for entrySet, keySet, values and size to include passivated entries

* Added test cases for each method

  1. … 25 more files in changeset.
ISPN-3078 @AfterMethod/alwaysRun and alike are not used correctly

  1. … 165 more files in changeset.
ISPN-3069 TimeService implementation

  1. … 98 more files in changeset.
ISPN-2962 Fix thread leaks in the core test suite

* Several tests do not shutdown their Executors or fail to stop an AsyncStore (notably AsyncStoreTest and AsyncStoreStressTest), leading to stray threads after the suite is run.

* DistributedExecutorTest and ReplSyncDistributedExecutorTest ocasionally swallow an interrupt preventing the pooled thread to stop when it is returned back to the pool and tries to take() the next task to execute.

* Print all the threads at the end of the test suite that were not already present at the beginning. These are leak suspects.

  1. … 10 more files in changeset.
ISPN-2914 Some tests are not picked up by Surefire - part2

* Some tests are renamed according to Maven Conventions.

* The test names in @Test annotation are fixed according to TestNameVerifier class.

  1. … 122 more files in changeset.
ISPN-2547 - org.infinispan.loaders.decorators.AsyncStoreTest.testPutRemove fails randomly

ISPN-2519 - Test org.infinispan.loaders.decorators.BatchAsyncCacheStoreTest.indexWasStored fails randomly

ISPN-2798 Test name differs from test class name

Fix testName attribute for relevant tests and modify UnitTestTestNGListener to not issue name related warnings for abstract classes.

  1. … 18 more files in changeset.
ISPN-2798 Test name differs from test class name

Fix testName attribute for relevant tests and modify UnitTestTestNGListener to not issue name related warnings for abstract classes.

  1. … 18 more files in changeset.
ISPN-2704 Check async store state for stop before wait for new state

  1. … 1 more file in changeset.
ISPN-2542 Adjust async store shutdown timeout to the test timeout

Remove unused imports and fix some minor generics warnings.

ISPN-2449: Rename the newly-introduced (5.2.x) Loader/Store Configuration builders so that backwards compatibility is not compromised

  1. … 40 more files in changeset.
ISPN-2293 New faster, safer, async store thanks to Karsten Blees

* New async store implementation from Karsten Blees

* Faster implementation with better solutions for ISPN-1174 problems,

including better encapsulation.

* Reverting most of async store changes introduced in ISPN-1174 except

the tests and the component metadata storage work.

* Created an async store stress test that as well as measuring

performance, it verifies that the contents written are correct.

* Fixed async store tests to work with new async store.

* Fix statistics calculation in MapStressTes.

* Using atomic integer in dummy in memory cache store to record

statistics, hence reducing its impact on performance tests.

Signed-off-by: Karsten Blees <blees@dcon.de>

    • -0
    • +297
    ./AsyncStoreEvictionTest.java
  1. … 14 more files in changeset.
ISPN-1174 Fix async cache store consistency issues with some operations

* This fix addresses issues related to interaction between remove,

eviction (with and without passivation) and async cache store, making

sure that the cache returns consistent information.

* To build unit tests I've had to patch internal cache components to

behave in a particular way, which has lead me to converting the

component metadata repository to a non-static class. This helps

enormously in building such unit tests without having to change

existing components.

    • -0
    • +300
    ./AsyncStoreFunctionalTest.java
  1. … 20 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

  1. … 53 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. … 93 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. … 89 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.

  1. … 14 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.

  1. … 13 more files in changeset.
ISPN-1924 Switch internals to use new Configuration

* Changed L1 configuration enabled default to false

* Removed activated flags from configuration objects

* Removed some configuration validation that was too brittle

* Provided backward compatible solutions for CommandInterceptor

and ModuleLifecycle implementors.

* Added Configurations class with helper methods for computing

several configuration parts centrally.

  1. … 185 more files in changeset.
ISPN-1890 - Unable to create new native thread when running core/ testsuite

Some tests were creating their own executors with Executors.newSingleThreadPool().

I added a new method fork(Callable) returning a Future to AbstractInfinispanTest to replace this usage.

  1. … 3 more files in changeset.
ISPN-1890 - Unable to create new native thread when running core/ testsuite

Some tests were creating their own executors with Executors.newSingleThreadPool().

I added a new method fork(Callable) returning a Future to AbstractInfinispanTest to replace this usage.

  1. … 3 more files in changeset.