Commit Graph

1338 Commits (62399eeeaf3b3996af79c064985bd4cebe6cd784)

Author SHA1 Message Date
Nikita a4e138a8e7 CommandBatchService refactoring 9 years ago
Nikita dfbc26b2d3 RBatch redirect handling optimization 9 years ago
Nikita e381d0f116 RedissonFairLock implemented. #511 9 years ago
Nikita 7bdeededfe Lock refactoring 9 years ago
Nikita 2c6d868648 RSemaphoreAsync implemented. #504 9 years ago
Nikita 52c67184c0 RLock.tryLockAsync timeWait checking fixed 9 years ago
Nikita 148d692c69 RLock.tryLockAsync fixed 9 years ago
Nikita b825056713 Merge branch 'master' of github.com:mrniko/redisson 9 years ago
Nikita d498e209d9 minor test refactoring 9 years ago
Nikita d762ac11e7 comment fixed 9 years ago
jackygurui 189f3d8b3d My bad
I committed the same code change in two different branch, should use merge.
9 years ago
Nikita Koksharov 8fbeca9d5f Merge pull request #509 from jackygurui/feature/travis-ci
Feature/travis ci
9 years ago
Rui Gu a0dc7afe67 added @Override 9 years ago
jackygurui 207d1aaaf9 added @Override 9 years ago
Rui Gu 7365a53f38 To fix a compilation issue. 9 years ago
jackygurui 6e80dad09b To fix a compilation issue. 9 years ago
Rui Gu 28bb3314f4 Merge branch 'mrniko/master' into feature/travis-ci 9 years ago
Rui Gu 4cadbd6f2b Merge branch 'mrniko/master' into feature/travis-ci 9 years ago
Nikita 8d8aed3bf0 Possible race-condition in RemoteService fixed. #507 9 years ago
Nikita b9e832f353 FstCodec fixed 9 years ago
Nikita Koksharov 056c3a8afa Merge pull request #497 from pierredavidbelanger/unacknowledged-fire-and-forget
proof of concept for unacknowledged and/or fire-and-forget calls in RRemoteService
9 years ago
Rui Gu 8b1ba7e582 fixed redis instance not stopped issue
there are more this situations been fixed.
9 years ago
Rui Gu db5222ef59 fixed the redis instance not stopped issue
The startDefaultRedisServerInstance is called instead of
shutDownDefaultRedisServerInstance in the after class of BaseTest
9 years ago
Nikita 6383d5088b FSTObjectOutput shouldn't be closed after write. #505 9 years ago
Pierre-David Bélanger 9ee20f69f5 send the RemoteInvocationOptions into the RemoteServiceRequest for server side use 9 years ago
Pierre-David Bélanger d1fe17c201 Do not rely on negative values in RedissonRemoteService, use RemoteInvocationOptions methods instead 9 years ago
Pierre-David Bélanger dd01fdbc14 Introduce a new option class to control the ack/execution timeouts instead of relying on negative timeout values 9 years ago
Pierre-David Bélanger b2e58d6a25 proof of concept for unacknowledged and/or fire-and-forget calls in RRemoteService 9 years ago
Pierre-David Bélanger 54ee22fc88 make remote service request/response related classes implements Serializable to support serialization based codec 9 years ago
Pierre-David Bélanger 0a31e3b28c Two tests to demonstrate that Redisson Remote Service does not work with serialization based codec 9 years ago
Pierre-David Bélanger aecf328f75 not make a remote call when toString, equals and hashCode are called on the Remote Service client proxy 9 years ago
Rui Gu 03a6f06b21 Fixed ClassCastException thrown from SortedSet add method 9 years ago
Rui Gu 9793ce2c56 Fixed ClassCastException thrown from SortedSet add method 9 years ago
Rui Gu 6fa1768d6b Merge branch 'feature/travis-ci' of https://github.com/jackygurui/redisson into feature/travis-ci
* 'feature/travis-ci' of https://github.com/jackygurui/redisson:
  Timeouts added to topic related tests
  Tidy up 1. Rename TestNameToConsoleRunListener to RedissonTestRunListener 2. Moved Test stats processing code to RedissonTestRunListener from RedissonRuntimeEnvironment.
  test case and fix added to fix issue #487
9 years ago
Rui Gu 74a05eed9e Merge branch 'mrniko/master' into feature/travis-ci
# Conflicts:
#	src/test/java/org/redisson/RedissonMapTest.java
9 years ago
Nikita Koksharov 215cd32090 Merge pull request #498 from pierredavidbelanger/executors-amount-is-not-enforced-fix
Executors amount is not enforced (failing test case AND its fix)
9 years ago
Pierre-David Bélanger 98593473ac The red test case (about executorsAmount that is not enforced) is now green 9 years ago
Pierre-David Bélanger 7e1e95d993 A failing test case to demonstrate that the executorsAmount is not enforced so the server could exceed the allowed concurrency (question is here #493) 9 years ago
Pierre-David Bélanger b49364eee6 Allows one to specify the remote service interface prefix (idea from #494) 9 years ago
Nikita 61d3293cb3 Matchers and MatcherAssert removed from few tests 9 years ago
Nikita 541b3e1eaf RList.addBefore and RList.addAfter methods added. #429 9 years ago
Nikita 382236cd17 RScoredSortedSet.count added. #458 9 years ago
jackygurui 80b11e6ebd Timeouts added to topic related tests 9 years ago
jackygurui f5ff53f036 Merge branch 'master' of https://github.com/mrniko/redisson into feature/travis-ci 9 years ago
Nikita 7167b1d056 RObject.expireAt fixed. #490 9 years ago
jackygurui 79cac80c8d Merge branch 'master' of https://github.com/mrniko/redisson into feature/travis-ci 9 years ago
jackygurui 128dd665dc Tidy up
1. Rename TestNameToConsoleRunListener to RedissonTestRunListener
2. Moved Test stats processing code to RedissonTestRunListener from RedissonRuntimeEnvironment.
9 years ago
Nikita 62712c656d Merge branch 'master' of github.com:mrniko/redisson 9 years ago
Nikita 8dc10d3e5e CommandEncoder minor optimization 9 years ago
Nikita Koksharov 6dc2f14843 Merge pull request #488 from jackygurui/fix_issue_#487
Fix issue #487
9 years ago
jackygurui eaa64c879c test case and fix added to fix issue #487
The ArrayOutOfBoundsException is thrown and returned null when polling
from a RedissonBlockingQueue with key size is exactly 1.
9 years ago
jackygurui 6a30f67d6b Looks like the Redis spec has changed
Since 3.2.0, the GEODIST command seems always rounding up the result to 4 digits decimal places.
9 years ago
jackygurui 1190af0349 test case and fix added to fix issue #487
The ArrayOutOfBoundsException is thrown and returned null when polling from a RedissonBlockingQueue with key size is exactly 1.
9 years ago
jackygurui 62d3113ed8 Merge branch 'master' of https://github.com/mrniko/redisson into feature/travis-ci 9 years ago
jackygurui 08dfeadc31 Added RunListener to print test names 9 years ago
Nikita 3e95416f34 comment fixed 9 years ago
Nikita 6f6f0ffde4 Script issue fixed in RScoredSortedSet.retainAll 9 years ago
Nikita 1d123af02b few comments added 9 years ago
Nikita 62d4e85d2a RLexSortedSet.readAll, pollFirst, pollLast, first, last and revRank methods added 9 years ago
Nikita 0cc9c73e1d RScoredSortedSet.readAll methods added 9 years ago
Ji Luo a4dc7153f3 Add entryValueReversed && entryValueReversedAsync to RedissonScoredSortedSet 9 years ago
Nikita 0453ede0da RScoredSortedSet.containsAll, removeAll, retainAll methods optimization 9 years ago
Nikita a249586ef8 RSet.diff and RSet.intersection methods were added 9 years ago
jackygurui cb1e0e667a revert back iteration to 100 9 years ago
jackygurui 982865e220 Tell travis ignore testConcurrency_MultiInstance_10_permits test 9 years ago
jackygurui a79abf9e45 increase iterations to 105 9 years ago
jackygurui 02f30093ca Revert back to use CyclicBarrier instead of CountDownLatch 9 years ago
jackygurui 799de99837 trying to replace cyclic barrier with count down latch 9 years ago
Rui Gu 9eeb4c05e4 Revert "ConcurrentTest optimisation"
This reverts commit d9610a2f29.
9 years ago
Rui Gu 4cbae15a28 Fixed RedissonConcurrentMapTest
removed two unnecessary lines that's causing the problem.
9 years ago
Rui Gu d9610a2f29 ConcurrentTest optimisation
Reverting back BaseConcurrentTest to use ExecutorService instead of
ForkJoinPool.
9 years ago
Rui Gu 945426f360 Fixed spring cache test starting too many redis instances 9 years ago
Rui Gu e0bf407124 Removed duplicated method 9 years ago
Rui Gu 4a2e7af460 Merge branch 'mrniko/master' into feature/travis-ci 9 years ago
Nikita 3302870c57 Merge branch 'master' of github.com:mrniko/redisson 9 years ago
Nikita 7b7e02110e RSet.removeAll test added 9 years ago
Nikita 0b5ffa6370 comment fixed 9 years ago
Nikita Koksharov 222f45bd19 Merge pull request #482 from jackygurui/more-shutdown-options
More shutdown options
9 years ago
jackygurui 080ad65bfe Fixed RedissonSemaphorTest
Added testMultiInstanceConcurrencySequentiallyLaunched method to launch
concurrent tests via for loop instead of stream.

Modified testConcurrency_MultiInstance_10_permits to use
testMultiInstanceConcurrencySequentiallyLaunched for concurrent test.
9 years ago
jackygurui bc01cf143a Fixed removeAll bug in RedissonSet
In removeAll method, wrong list was passed to the command executor.
9 years ago
jackygurui 8029f91b60 Fixed removeAll bug in RedissonSet
In removeAll method, wrong list was passed to the command executor.
9 years ago
jackygurui 2718f70b4a added redisson client shutdown options
Overloaded shutdown method to allow specifying the timeout and the
quiet period.
9 years ago
jackygurui 820dba2b2e Merge remote-tracking branch 'mrniko/master' into feature/travis-ci 9 years ago
Nikita 7ddbc8cd03 Minor changes 9 years ago
Nikita f8318a205f Possible infinity RLock expiration renewal fixed 9 years ago
Nikita 747647b554 Big optimization of RSetCache! 9 years ago
jackygurui b514e9a9e7 Merge remote-tracking branch 'mrniko/master' into feature/travis-ci 9 years ago
Nikita 9a01cec004 RSetCache few improvements 9 years ago
Nikita 5675806bfb Error in RSetCache.readAll fixed. Expiration override in RSetCache.add fixed. #481 9 years ago
Nikita c9ac67ea7e Few iterator improvements 9 years ago
Nikita 4a1f2e57b6 Compilation fixed 9 years ago
Nikita cd7e6ad8db RSet.retainAll, containsAll, removeAll methods optimized up to 100x times. RSet refactoring 9 years ago
jackygurui be455a33bd Lambda conversion 9 years ago
jackygurui a5ea392880 Enhancement to RedissonRuntimeEnvironment
When running in travis, output uptime and memory usage every 10 seconds
to make travis’ watch dog happy.
9 years ago
Rui Gu 0f19122ef8 Merge branch 'mrniko/master' into feature/travis-ci 9 years ago
Rui Gu 37f9030649 Merge branch 'mrniko/master' into feature/travis-ci
# Conflicts:
#	src/test/java/org/redisson/RedissonSemaphoreTest.java
9 years ago
Nikita f14b794391 RScoredSortedSet rank NPE fixed. #478 9 years ago
Nikita aa3be95319 RedissonSemaphoreTest.testConcurrency_MultiInstance_10_permits fixed 9 years ago
Nikita 3304e3caef refactoring 9 years ago
Rui Gu c1cd570186 Merge branch 'mrniko/master' into feature/travis-ci 9 years ago
Nikita b870b9cc08 compilation fixed 9 years ago
Nikita 16c5df230f Fixed - cluster state update manager can't try next node if current node fails. #476 9 years ago
Nikita 13664c3153 Fixed cluster initialization. #476 9 years ago
Rui Gu 7da39e4053 Merge branch 'mrniko/master' into feature/travis-ci 9 years ago
Nikita fca186befb Fixed bug with items removing during RedissonMap iteration 9 years ago
Nikita b4bf2c66b2 RGeo.addAsync codec definition fixed 9 years ago
Nikita 904d58d8e9 RMapCache iterator fixed. readAll methods fixed. #471 9 years ago
jackygurui 1094fcd8b0 Merge branch 'master' of https://github.com/mrniko/redisson into feature/travis-ci 9 years ago
Nikita 3a848c0c1d Fixed unnecessary slots migration in cluster mode. #475 9 years ago
jackygurui 04713fcd4b Tidy up
Removed unused imports from tests
Converted nested anonymous class to lambda expression
9 years ago
jackygurui d876dc8438 fixed merge created issue
two methods got removed after merge and did not realise.
9 years ago
jackygurui e3debdb158 Merge branch 'master' of https://github.com/mrniko/redisson into feature/travis-ci
# Conflicts:
#	src/main/java/org/redisson/client/RedisClient.java
#	src/test/java/org/redisson/RedissonGeoTest.java
9 years ago
Nikita 0d59eaea3c Command batches cluster redirect handling fixed 9 years ago
Nikita b60b170d45 RedissonMultimap.fastRemove method cluster compatibility fixed 9 years ago
jackygurui 64cf095553 Test case added for #471 9 years ago
Nikita 4f8663f21a Command encoder handlers now are singletons 9 years ago
Nikita abca09e5b7 Replaying phase handling in CommandDecoder 9 years ago
Nikita Koksharov 26f2d0a4b9 Merge pull request #470 from jackygurui/LUA-array-indices-start-fix
one more index start fix
9 years ago
jackygurui 5b1591818e Merge branch 'master' of https://github.com/mrniko/redisson into feature/travis-ci 9 years ago
jackygurui c3f6ce0d34 one more index start fix 9 years ago
jackygurui 1df07fa9da one more index start fix 9 years ago
Nikita 1fc619fdfd minor fix 9 years ago
Nikita 6a1cc63b0b Merge branch 'master' of github.com:mrniko/redisson 9 years ago
Nikita 5274e762b5 RedissonMultiLock deadlock fixed. #467 9 years ago
jackygurui 2001c70921 show memory usage collection and uptime for concurrent tests
In a bit do understand why some concurrent jobs might be killed by
travis
9 years ago
jackygurui 009bfd05e2 A few more LUA array indices started at 0 9 years ago
jackygurui de27fd005e A few more LUA array index started at 0 9 years ago
jackygurui 785a627a12 Merge remote-tracking branch 'mrniko/master' into feature/travis-ci
# Conflicts:
#	src/main/java/org/redisson/RedissonList.java
#	src/main/java/org/redisson/RedissonSet.java
9 years ago
Nikita 11eaf5d62e License header fixed 9 years ago
Nikita e45d370404 MultiDecoder empty result handling fixed 9 years ago
Nikita 89312c230f LUA arrays start index fixed 9 years ago
jackygurui e470a1ff80 fixed removeAll() for RedissonScoredSortedSetReactive 9 years ago
jackygurui 6de8a1a311 fixed removeAll() for set and list under redis 3.2.0-rc3 9 years ago
Nikita 9bd6a0387b RMap iterator fixed. #468 9 years ago
Rui Gu b7b92ceffc Making the concurrent jobs to wait longer under travis 9 years ago
Rui Gu a7ab6078df Revert "try to see why RedisVersions fails on 3.2.0-rc3 but not other vers"
This reverts commit 9bf8428cde.
9 years ago
Rui Gu b0aa3bb320 fixed RedisVersion regex to use variable length matching 9 years ago
Rui Gu 9bf8428cde try to see why RedisVersions fails on 3.2.0-rc3 but not other vers 9 years ago
Nikita d03e0de847 Fixed probably thread blocking issues #455 9 years ago
Rui Gu 9005f25688 Fixed Multimap Cache test
After multi map expired, should test collection emptiness using
isEmpty() instead of using contains() with no params.
9 years ago
Rui Gu 83633b238f Enhancements to handle redis server version during test
Added RedisVersion class
Moved version related information from RedisRunner.RedisProcess to
RedisVersion
Added code that performs redis version check on commands that only
available to redis at or above given version number
Enabled RedissonGeoTest for all versions in travis (Should auto skip
the test class when version number mismatch)
9 years ago
Rui Gu cde9ba7b4a Fixed SpringCacheTest
Now SpringCacheTest starts its own redis instance
9 years ago
Rui Gu 43b74f5cf1 fixed instance field 'redisson' not initialised in travis env bug 9 years ago
Rui Gu fca888987d Enhancements
added a method to retrieve Redis server version.
renamed RedisRunner.startDefaultRedisTestInstance to
RedisRunner.startDefaultRedisServerInstance
renamed RedisRunner.shutDownDefaultRedisTestInstance to
RedisRunner.shutDownDefaultRedisServerInstance
removed redis version related code from RedissonRuntimeEnvironment
travis.yml no longer need to pass redisVersion environment to run tests
9 years ago
Rui Gu 103d0f6fd4 added server info command to RedisClient 9 years ago
Rui Gu 2cc94e0f31 Tests are runtime environment aware 9 years ago
Rui Gu f9375f7cb7 fixed nosave option not working under windows env. 9 years ago
Rui Gu 4380ead23d Merge branch 'mrniko/master' into feature/travis-ci 9 years ago
Nikita 43bde3e0c0 RGeo interface covered by comments. 9 years ago
Rui Gu e80bf137e2 Fixed RedissonTwoLockedThread test
RedissonTwoLockedThread not had default redis instance started before
the test executes
9 years ago